Skip to content

Commit 14d6497

Browse files
committed
update jest to 22.4.2
1 parent aa217e9 commit 14d6497

2 files changed

Lines changed: 163 additions & 143 deletions

File tree

package.json

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"istanbul": "^0.4.5",
4444
"jade": "^1.11.0",
4545
"jade-loader": "~0.8.0",
46-
"jest": "^22.1.4",
46+
"jest": "^22.4.2",
4747
"js-beautify": "^1.5.10",
4848
"json-loader": "^0.5.7",
4949
"less": "^2.5.1",
@@ -86,9 +86,9 @@
8686
"schemas/"
8787
],
8888
"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'",
9292
"travis:integration": "npm run cover:init && npm run cover:integration && npm run cover:report-min",
9393
"travis:unit": "npm run cover:init && npm run cover:unit && npm run cover:report-min",
9494
"travis:lint": "npm run lint-files",
@@ -116,11 +116,22 @@
116116
"publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish"
117117
},
118118
"jest": {
119-
"testEnvironment": "node",
120119
"setupTestFrameworkScriptFile": "<rootDir>/test/setupTestFramework.js",
121120
"testMatch": [
122121
"<rootDir>/test/*.test.js",
123122
"<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>/"
124135
]
125136
}
126137
}

0 commit comments

Comments
 (0)