Update jest to v23.4.1
This commit is contained in:
Родитель
7425cb0923
Коммит
eab779c636
|
@ -39,7 +39,7 @@ jobs:
|
|||
- run: yarn run lint:security
|
||||
|
||||
# run tests!
|
||||
- run: yarn run test
|
||||
- run: yarn run test:ci
|
||||
|
||||
# build all the things!
|
||||
- run: yarn run build
|
||||
|
|
|
@ -31,8 +31,9 @@
|
|||
"scripts": {
|
||||
"start": "node scripts/start.js",
|
||||
"build": "node scripts/build.js",
|
||||
"test": "CI=true yarn run test:jest",
|
||||
"test:jest": "node scripts/test.js test --env=jsdom",
|
||||
"test": "node scripts/test.js test --env=jsdom",
|
||||
"test:ci": "CI=true yarn test",
|
||||
"test:watch": "yarn test --watch",
|
||||
"lint:less": "stylelint 'src/**/*.less' --config .stylelintrc",
|
||||
"lint:eslint": "eslint --max-warnings 0 'src/**/*.js'",
|
||||
"lint:eslintfix": "eslint --max-warnings 0 --fix 'src/**/*.js'",
|
||||
|
@ -44,7 +45,7 @@
|
|||
"autoprefixer": "9.0.0",
|
||||
"babel-core": "6.26.3",
|
||||
"babel-eslint": "8.2.6",
|
||||
"babel-jest": "20.0.3",
|
||||
"babel-jest": "23.4.0",
|
||||
"babel-loader": "7.1.2",
|
||||
"babel-plugin-import": "1.8.0",
|
||||
"babel-plugin-transform-decorators-legacy": "1.3.5",
|
||||
|
@ -74,7 +75,7 @@
|
|||
"fs-extra": "3.0.1",
|
||||
"generate-json-webpack-plugin": "0.3.1",
|
||||
"html-webpack-plugin": "2.29.0",
|
||||
"jest": "20.0.4",
|
||||
"jest": "23.4.1",
|
||||
"jest-immutable-matchers": "2.0.1",
|
||||
"less": "3.7.1",
|
||||
"less-loader": "4.1.0",
|
||||
|
|
|
@ -16,9 +16,4 @@ require('../config/env');
|
|||
const jest = require('jest');
|
||||
let argv = process.argv.slice(2);
|
||||
|
||||
// Watch unless on CI or in coverage mode
|
||||
if (!process.env.CI && argv.indexOf('--coverage') < 0) {
|
||||
argv.push('--watch');
|
||||
}
|
||||
|
||||
jest.run(argv);
|
||||
|
|
910
yarn.lock
910
yarn.lock
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче