@digest/jest 3.3.4 → 3.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,12 +43,24 @@ module.exports = {
43
43
  ] :
44
44
  []),
45
45
  coverageDirectory: path_1.default.join(scripts_1.default.reportPath, 'coverage'),
46
- moduleDirectories: ['node_modules', '<rootDir>', process.cwd()],
47
- moduleFileExtensions: ['json', 'js', 'jsx', 'ts', 'tsx'],
46
+ moduleDirectories: [
47
+ 'node_modules',
48
+ '<rootDir>',
49
+ process.cwd()
50
+ ],
51
+ moduleFileExtensions: [
52
+ 'json',
53
+ 'js',
54
+ 'jsx',
55
+ 'ts',
56
+ 'tsx'
57
+ ],
48
58
  moduleNameMapper: {
49
59
  '\\.(css|scss|sass|less)$': 'identity-obj-proxy'
50
60
  },
51
- reporters: ['default'].concat(junit ?
61
+ reporters: [
62
+ 'default'
63
+ ].concat(junit ?
52
64
  [
53
65
  [
54
66
  'jest-junit',
@@ -72,7 +84,9 @@ module.exports = {
72
84
  require.resolve(path_1.default.join('@digest', 'jest-enzyme', 'share', 'setup.js'))
73
85
  ] :
74
86
  [], scripts_1.default.jestSetup ?
75
- [scripts_1.default.jestSetup] :
87
+ [
88
+ scripts_1.default.jestSetup
89
+ ] :
76
90
  []),
77
91
  setupFilesAfterEnv: [].concat(react ?
78
92
  [
@@ -83,7 +97,9 @@ module.exports = {
83
97
  require.resolve(path_1.default.join('jest-enzyme', 'lib', 'index.js'))
84
98
  ] :
85
99
  [], scripts_1.default.jestEnvSetup ?
86
- [scripts_1.default.jestEnvSetup] :
100
+ [
101
+ scripts_1.default.jestEnvSetup
102
+ ] :
87
103
  []),
88
104
  snapshotSerializers: [].concat(enzyme && !emotion ?
89
105
  [
@@ -99,7 +115,14 @@ module.exports = {
99
115
  ] :
100
116
  []),
101
117
  testEnvironment: 'node',
102
- testPathIgnorePatterns: ['/\/node_modules\//', '/\/lib\//', '/\/public\//', '/\/static\//', '/\/bin\//', '\.d.ts$'],
118
+ testPathIgnorePatterns: [
119
+ '//node_modules//',
120
+ '//lib//',
121
+ '//public//',
122
+ '//static//',
123
+ '//bin//',
124
+ '.d.ts$'
125
+ ],
103
126
  testRegex: '(__tests__[\\\/\\\\].*|\\.(test|spec))\\.(j|t)sx?$',
104
127
  transform: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)(\\?v=[0-9]\\.[0-9]\\.[0-9])?$': 'jest-transform-stub' }, babel ?
105
128
  {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@digest/jest",
3
3
  "title": "Jest Digest",
4
4
  "license": "GPL-3.0",
5
- "version": "3.3.4",
5
+ "version": "3.3.5",
6
6
  "description": "Digested Jest configurations",
7
7
  "author": "wallzero @wallzeroblog (http://wallzero.com)",
8
8
  "contributors": [
@@ -35,8 +35,8 @@
35
35
  "clean": "rimraf node_modules dist package-lock.json npm-debug.log"
36
36
  },
37
37
  "dependencies": {
38
- "@digest/scripts": "^3.3.4",
39
- "jest": "^27.4.3",
38
+ "@digest/scripts": "^3.3.5",
39
+ "jest": "^27.4.7",
40
40
  "jest-transform-stub": "^2.0.0"
41
41
  },
42
42
  "keywords": [
@@ -46,5 +46,5 @@
46
46
  "coverage",
47
47
  "clover"
48
48
  ],
49
- "gitHead": "9d4de3a9c295ffa38a7bf06217fd8955528fd9ee"
49
+ "gitHead": "c92b63a632cc91df2fbfc342ae638ddee694f62c"
50
50
  }