chore: speedup unit test on windows

This commit is contained in:
Jun Yang
2019-05-19 13:00:51 +08:00
parent 2cb4bffd3e
commit 224679a7d7
3 changed files with 1084 additions and 845 deletions
+1079 -840
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -10,7 +10,7 @@
"unit": "mocha \"test/unit/**/*.ts\"",
"integration": "mocha \"test/integration/**/*.ts\"",
"e2e": "npm run build && mocha \"test/e2e/**/*.ts\"",
"test": "BUNDLES=cjs,umd npm run build && mocha \"test/**/*.ts\"",
"test": "cross-env BUNDLES=cjs,umd npm run build && mocha \"test/**/*.ts\"",
"benchmark": "ts-node benchmark",
"coverage-html": "nyc --reporter=html mocha \"test/{unit,integration}/**/*.ts\"",
"coverage-coveralls": "nyc mocha \"test/{unit,integration}/**/*.ts\" && nyc report --reporter=text-lcov | coveralls",
@@ -46,7 +46,7 @@
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/commit-analyzer": "^6.1.0",
"@semantic-release/git": "^7.0.8",
"@semantic-release/npm": "^5.1.4",
"@semantic-release/npm": "^5.1.8",
"@semantic-release/release-notes-generator": "^7.1.4",
"@types/benchmark": "^1.0.31",
"@types/chai": "^4.1.7",
@@ -77,9 +77,9 @@
"regenerator-runtime": "^0.12.1",
"rollup": "^1.1.2",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-typescript2": "^0.19.2",
"rollup-plugin-typescript2": "^0.21.1",
"rollup-plugin-uglify": "^6.0.2",
"semantic-release": "^15.13.3",
"semantic-release": "^15.13.14",
"sinon": "^7.2.3",
"sinon-chai": "^3.3.0",
"supertest": "^3.4.2",
+1 -1
View File
@@ -1 +1 @@
--require ts-node/register
--require ts-node/register/transpile-only --strict false