@homebots/jest-config 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +24 -0
  2. package/package.json +2 -2
package/index.js ADDED
@@ -0,0 +1,24 @@
1
+ module.exports = {
2
+ cache: true,
3
+ clearMocks: true,
4
+ collectCoverage: true,
5
+ maxWorkers: 1,
6
+ coverageProvider: "babel",
7
+ coveragePathIgnorePatterns: ["/node_modules/"],
8
+ extensionsToTreatAsEsm: [".ts"],
9
+ transform: {
10
+ "^.+\\.ts$": "ts-jest",
11
+ },
12
+ slowTestThreshold: 1,
13
+ coverageThreshold: {
14
+ global: {
15
+ branches: 100,
16
+ functions: 100,
17
+ lines: 100,
18
+ statements: 100,
19
+ },
20
+ },
21
+ moduleFileExtensions: ["js", "ts"],
22
+ testEnvironment: "node",
23
+ verbose: false,
24
+ };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@homebots/jest-config",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Shared Jest configurations",
5
- "main": "./index.ts",
5
+ "main": "./index.js",
6
6
  "types": "./index.ts",
7
7
  "repository": {
8
8
  "type": "git",