|
43 | 43 | "istanbul": "^0.4.5", |
44 | 44 | "jade": "^1.11.0", |
45 | 45 | "jade-loader": "~0.8.0", |
46 | | - "jest": "^22.1.4", |
| 46 | + "jest": "^22.4.2", |
47 | 47 | "js-beautify": "^1.5.10", |
48 | 48 | "json-loader": "^0.5.7", |
49 | 49 | "less": "^2.5.1", |
|
86 | 86 | "schemas/" |
87 | 87 | ], |
88 | 88 | "scripts": { |
89 | | - "test": "jest", |
90 | | - "test:integration": "jest --testMatch '<rootDir>/test/*.test.js'", |
91 | | - "test:unit": "jest --testMatch '<rootDir>/test/*.unittest.js'", |
| 89 | + "test": "node --no-deprecation node_modules/.bin/jest", |
| 90 | + "test:integration": "node --no-deprecation node_modules/.bin/jest --testMatch '<rootDir>/test/*.test.js'", |
| 91 | + "test:unit": "node --no-deprecation node_modules/.bin/jest --testMatch '<rootDir>/test/*.unittest.js'", |
92 | 92 | "travis:integration": "npm run cover:init && npm run cover:integration && npm run cover:report-min", |
93 | 93 | "travis:unit": "npm run cover:init && npm run cover:unit && npm run cover:report-min", |
94 | 94 | "travis:lint": "npm run lint-files", |
|
116 | 116 | "publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish" |
117 | 117 | }, |
118 | 118 | "jest": { |
119 | | - "testEnvironment": "node", |
120 | 119 | "setupTestFrameworkScriptFile": "<rootDir>/test/setupTestFramework.js", |
121 | 120 | "testMatch": [ |
122 | 121 | "<rootDir>/test/*.test.js", |
123 | 122 | "<rootDir>/test/*.unittest.js" |
| 123 | + ], |
| 124 | + "watchPathIgnorePatterns": [ |
| 125 | + "<rootDir>/test/js/", |
| 126 | + "<rootDir>/test/browsertest/js/", |
| 127 | + "<rootDir>/test/fixtures/temp-cache-fixture/", |
| 128 | + "<rootDir>/benchmark/js/", |
| 129 | + "<rootDir>/benchmark/fixtures/", |
| 130 | + "<rootDir>/examples/", |
| 131 | + "<rootDir>/coverage/" |
| 132 | + ], |
| 133 | + "transformIgnorePatterns": [ |
| 134 | + "<rootDir>/" |
124 | 135 | ] |
125 | 136 | } |
126 | 137 | } |
0 commit comments