Skip to content

Commit dd8eef1

Browse files
committed
update script
1 parent 8af9f7e commit dd8eef1

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
"clean:win": "(if exist dist rd /s/q dist)",
7575
"lint": "tsc --noEmit && eslint 'lib/**/*.js' 'lib/**/*.ts'",
7676
"test-vitest": "tsc --noEmit --p tsconfig.spec.json && vitest run",
77-
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register -r lib/tests/exit_on_unhandled_rejection.js 'lib/**/*.tests.ts' 'lib/**/*.tests.js' && npm run test-vitest",
77+
"test-mocha": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register -r lib/tests/exit_on_unhandled_rejection.js 'lib/**/*.tests.ts' 'lib/**/*.tests.js'",
78+
"test": "npm run test-mocha && npm run test-vitest",
7879
"posttest": "npm run lint",
7980
"test-ci": "npm run test-xbrowser && npm run test-umdbrowser",
8081
"test-xbrowser": "karma start karma.bs.conf.js --single-run",

vitest.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,5 @@ export default defineConfig({
99
typecheck: {
1010
tsconfig: 'tsconfig.spec.json',
1111
},
12-
coverage: {
13-
enabled: true,
14-
provider: 'istanbul',
15-
exclude: ['**/*.spec.ts', '**/*.d.ts', ...coverageConfigDefaults.exclude],
16-
}
1712
},
1813
});

0 commit comments

Comments
 (0)