|
11 | 11 | "lint": "eslint --cache --ext .ts packages/*/{src,__tests__}/**.ts",
|
12 | 12 | "format": "prettier --write --cache --parser typescript \"**/*.[tj]s?(x)\"",
|
13 | 13 | "format-check": "prettier --check --cache --parser typescript \"**/*.[tj]s?(x)\"",
|
14 |
| - "test": "run-s \"test-unit {@}\" \"test-e2e {@}\"", |
15 |
| - "test-unit": "jest --filter ./scripts/filter-unit.mjs", |
16 |
| - "test-e2e": "node scripts/build.mjs vue -f global -d && jest --filter ./scripts/filter-e2e.js --runInBand", |
| 14 | + "test": "vitest", |
| 15 | + "test-unit": "vitest -c vitest.unit.config.ts", |
| 16 | + "test-e2e": "node scripts/build.mjs vue -f global -d && vitest -c vitest.e2e.config.ts", |
17 | 17 | "test-dts": "node scripts/build.mjs shared reactivity runtime-core runtime-dom -dt -f esm-bundler && npm run test-dts-only",
|
18 | 18 | "test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.mjson",
|
19 |
| - "test-coverage": "node scripts/build.mjs vue -f global -d && jest --runInBand --coverage --bail", |
| 19 | + "test-coverage": "vitest -c vitest.unit.config.ts --coverage", |
20 | 20 | "release": "node scripts/release.mjs",
|
21 | 21 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
22 | 22 | "dev-esm": "node scripts/dev.mjs -if esm-bundler-runtime",
|
|
62 | 62 | "@rollup/plugin-replace": "^5.0.1",
|
63 | 63 | "@rollup/plugin-terser": "^0.1.0",
|
64 | 64 | "@types/hash-sum": "^1.0.0",
|
65 |
| - "@types/jest": "^29.2.2", |
66 | 65 | "@types/node": "^16.4.7",
|
67 | 66 | "@typescript-eslint/parser": "^5.23.0",
|
| 67 | + "@vitest/coverage-istanbul": "^0.28.2", |
68 | 68 | "@vue/consolidate": "0.17.3",
|
69 | 69 | "@vue/reactivity": "workspace:*",
|
70 | 70 | "@vue/runtime-core": "workspace:*",
|
|
76 | 76 | "enquirer": "^2.3.2",
|
77 | 77 | "esbuild": "^0.17.4",
|
78 | 78 | "eslint": "^7.7.0",
|
79 |
| - "eslint-plugin-jest": "26.1.5", |
| 79 | + "eslint-plugin-jest": "^27.2.1", |
80 | 80 | "execa": "^4.0.2",
|
81 |
| - "jest": "^29.3.1", |
82 |
| - "jest-environment-jsdom": "^29.3.1", |
83 | 81 | "lint-staged": "^10.2.10",
|
84 | 82 | "lodash": "^4.17.15",
|
85 | 83 | "marked": "^4.0.10",
|
|
98 | 96 | "simple-git-hooks": "^2.8.1",
|
99 | 97 | "terser": "^5.15.1",
|
100 | 98 | "todomvc-app-css": "^2.3.0",
|
101 |
| - "ts-jest": "^29.0.3", |
102 | 99 | "tslib": "^2.4.0",
|
103 | 100 | "typescript": "^4.8.0",
|
104 | 101 | "vite": "^4.0.4",
|
|
0 commit comments