address review comment

https://github.com/webpack/webpack/pull/6565#discussion_r173093971

left coverage with --no-deprecation since the tests do show the deprecations, we shouldn't interpolate coverage output with deprecations
This commit is contained in:
Bazyli Brzóska 2018-04-10 22:51:22 +02:00
parent 56c9c6e9e0
commit c1a126f964
1 changed files with 6 additions and 6 deletions

View File

@ -88,9 +88,9 @@
"schemas/" "schemas/"
], ],
"scripts": { "scripts": {
"test": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/.bin/jest", "test": "node --max-old-space-size=4096 --harmony node_modules/.bin/jest",
"test:integration": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/.bin/jest --testMatch '<rootDir>/test/*.test.js'", "test:integration": "node --max-old-space-size=4096 --harmony node_modules/.bin/jest --testMatch '<rootDir>/test/*.test.js'",
"test:unit": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/.bin/jest --testMatch '<rootDir>/test/*.unittest.js'", "test:unit": "node --max-old-space-size=4096 --harmony node_modules/.bin/jest --testMatch '<rootDir>/test/*.unittest.js'",
"travis:integration": "npm run cover:init && npm run cover:integration", "travis:integration": "npm run cover:init && npm run cover:integration",
"travis:unit": "npm run cover:init && npm run cover:unit", "travis:unit": "npm run cover:init && npm run cover:unit",
"travis:lint": "npm run lint-files", "travis:lint": "npm run lint-files",
@ -98,7 +98,7 @@
"appveyor:integration": "npm run cover:init && npm run cover:integration", "appveyor:integration": "npm run cover:init && npm run cover:integration",
"appveyor:unit": "npm run cover:init && npm run cover:unit", "appveyor:unit": "npm run cover:init && npm run cover:unit",
"appveyor:benchmark": "npm run benchmark", "appveyor:benchmark": "npm run benchmark",
"circleci:test": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/.bin/jest", "circleci:test": "node --max-old-space-size=4096 --harmony node_modules/.bin/jest --ci --reporters jest-silent-reporter",
"circleci:lint": "npm run lint-files", "circleci:lint": "npm run lint-files",
"build:examples": "cd examples && node buildAll.js", "build:examples": "cd examples && node buildAll.js",
"pretest": "npm run lint-files", "pretest": "npm run lint-files",
@ -106,8 +106,8 @@
"lint": "eslint lib bin hot buildin \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\"", "lint": "eslint lib bin hot buildin \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
"fix": "npm run lint -- --fix", "fix": "npm run lint -- --fix",
"pretty-files": "prettier \"lib/**.*\" \"bin/**.*\" \"hot/**.*\" \"buildin/**.*\" \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" --write", "pretty-files": "prettier \"lib/**.*\" \"bin/**.*\" \"hot/**.*\" \"buildin/**.*\" \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" --write",
"schema-lint": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/.bin/jest --testMatch '<rootDir>/test/*.lint.js'", "schema-lint": "node --max-old-space-size=4096 --harmony node_modules/.bin/jest --reporters jest-silent-reporter --testMatch '<rootDir>/test/*.lint.js'",
"benchmark": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/.bin/jest --testMatch '<rootDir>/test/*.benchmark.js' --runInBand", "benchmark": "node --max-old-space-size=4096 --harmony node_modules/.bin/jest --reporters jest-silent-reporter --testMatch '<rootDir>/test/*.benchmark.js' --runInBand",
"cover": "npm run cover:init && npm run cover:all", "cover": "npm run cover:init && npm run cover:all",
"cover:init": "rimraf coverage", "cover:init": "rimraf coverage",
"cover:all": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/.bin/jest --coverage", "cover:all": "node --no-deprecation --max-old-space-size=4096 --harmony node_modules/.bin/jest --coverage",