2.2.1 • Published 2 years ago
jest-preset-beemo v2.2.1
jest-preset-beemo
A modern TypeScript-only Jest preset. Provides code coverage and performance out of the box.
yarn install --dev jest-preset-beemo
Setup
Add the preset to your root jest.config.js
.
module.exports = {
preset: 'jest-preset-beemo',
};
Features
- Configured for Node.js environments.
- Defines an empty file mock for non-TS files (like CSS).
- Requires 90% code coverage of all source files.
- Improved performance through the Jest Circus runner.
- Supports
__DEV__
and__PROD__
globals.
Requirements
- Source files must be located in a
src
folder. - Tests files must end in
*.test.*
and be located within atests
or__tests__
folder. - Includes a setup file at
<rootDir>/tests/setup.ts
(if exists). - Relies on Babel, the TypeScript plugin, and the default
babel-jest
package.
2.2.1
2 years ago
2.2.0
2 years ago
2.1.0
2 years ago
2.0.0
2 years ago
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.0
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.0.1-alpha.1
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.5
3 years ago
0.0.1-alpha.0
3 years ago