|
102 | 102 | "test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
|
103 | 103 | "test:basic": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/{TestCasesNormal,StatsTestCases,ConfigTestCases}.test.js\"",
|
104 | 104 | "test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
|
105 |
| - "travis:integration1": "yarn cover:init && yarn cover:integration \"test/((?!TestCases)|TestCasesD)\" --ci $JEST && yarn cover:report-min", |
106 |
| - "travis:integration2": "yarn cover:init && yarn cover:integration \"test/TestCases(?!D)\" --ci $JEST && yarn cover:report-min", |
| 105 | + "travis:integration": "yarn cover:init && yarn cover:integration \"test/((?!TestCases)|TestCasesD)\" --ci $JEST && mv coverage/coverage-final.json coverage/coverage-final-1.json && yarn cover:integration \"test/TestCases(?!D)\" --ci $JEST && mv coverage/coverage-final.json coverage/coverage-final-2.json", |
107 | 106 | "travis:basic": "yarn test:basic --ci $JEST",
|
108 |
| - "travis:unit": "yarn cover:init && yarn cover:unit --ci", |
109 |
| - "travis:lint": "yarn lint", |
| 107 | + "travis:lint-unit": "yarn lint && yarn cover:init && yarn cover:unit --ci $JEST", |
110 | 108 | "travis:benchmark": "yarn benchmark --ci",
|
111 |
| - "appveyor:integration1": "yarn cover:init && yarn cover:integration \"test/((?!TestCases)|TestCasesD)\" --ci %JEST% && yarn cover:report-min", |
112 |
| - "appveyor:integration2": "yarn cover:init && yarn cover:integration \"test/TestCases(?!D)\" --ci %JEST% && yarn cover:report-min", |
113 |
| - "appveyor:unit": "yarn cover:init && yarn cover:unit --ci && yarn cover:report-min", |
| 109 | + "appveyor:integration": "yarn cover:init && yarn cover:integration \"test/((?!TestCases)|TestCasesD)\" --ci %JEST% && move coverage\\coverage-final.json coverage\\coverage-final-1.json && yarn cover:integration \"test/TestCases(?!D)\" --ci %JEST% && move coverage\\coverage-final.json coverage\\coverage-final-2.json", |
| 110 | + "appveyor:unit": "yarn cover:init && yarn cover:unit --ci %JEST%", |
114 | 111 | "appveyor:benchmark": "yarn benchmark --ci",
|
115 | 112 | "circleci:test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --ci",
|
116 | 113 | "circleci:lint": "yarn lint",
|
|
129 | 126 | "cover:all": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage",
|
130 | 127 | "cover:integration": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\" --coverage",
|
131 | 128 | "cover:unit": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage",
|
132 |
| - "cover:report": "istanbul report", |
133 |
| - "cover:report-min": "istanbul report --report lcovonly" |
| 129 | + "cover:report": "istanbul report" |
134 | 130 | },
|
135 | 131 | "jest": {
|
136 | 132 | "forceExit": true,
|
|
147 | 143 | "<rootDir>/test/fixtures/temp-",
|
148 | 144 | "<rootDir>/benchmark/",
|
149 | 145 | "<rootDir>/examples/*/dist",
|
150 |
| - "<rootDir>/coverage/" |
| 146 | + "<rootDir>/coverage/", |
| 147 | + "<rootDir>/.eslintcache/" |
151 | 148 | ],
|
152 | 149 | "modulePathIgnorePatterns": [
|
153 | 150 | "<rootDir>/node_modules/webpack/node_modules/",
|
|
157 | 154 | "<rootDir>/test/fixtures/temp-",
|
158 | 155 | "<rootDir>/benchmark/",
|
159 | 156 | "<rootDir>/examples/*/dist",
|
160 |
| - "<rootDir>/coverage/" |
| 157 | + "<rootDir>/coverage/", |
| 158 | + "<rootDir>/.eslintcache/" |
161 | 159 | ],
|
162 | 160 | "transformIgnorePatterns": [
|
163 | 161 | "<rootDir>/"
|
|
0 commit comments