|
38 | 38 | "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
39 | 39 | "preview": "vite ./__tests__/browser preview",
|
40 | 40 | "clear": "rm -rf build && rm -rf esm && rm -rf cjs",
|
41 |
| - "test": "jest", |
| 41 | + "test": "jest ./__tests__/unit/", |
42 | 42 | "test-cov": "jest -w 16 --coverage",
|
43 | 43 | "test-live": "npm run test-watch __tests__/unit/",
|
44 | 44 | "test-watch": "DEBUG_MODE=1 jest --watch",
|
45 |
| - "test-performance": "jest ./__tests__/performance/performanceTest.ts --config jest.performance.config.js", |
| 45 | + "test-performance": "jest ./__tests__/performance/performance.test.ts --config jest.performance.config.js", |
46 | 46 | "prepublishOnly": "npm run build",
|
47 | 47 | "postpublish": "npm run clear",
|
48 | 48 | "release-minor": "npm version minor && npm publish && git commit -a -m 'chore: release minor version for vmind' && git push",
|
|
58 | 58 | "@internal/bundler": "workspace:*",
|
59 | 59 | "@internal/eslint-config": "workspace:*",
|
60 | 60 | "@internal/ts-config": "workspace:*",
|
| 61 | + "@internal/jest-config": "workspace:*", |
61 | 62 | "@arco-design/web-react": "2.46.1",
|
62 |
| - "@types/jest": "^26.0.0", |
| 63 | + "@types/jest": "~29.5.0", |
63 | 64 | "@types/react": "^18.0.0",
|
64 | 65 | "@types/react-dom": "^18.0.0",
|
65 | 66 | "@typescript-eslint/eslint-plugin": "5.30.0",
|
|
74 | 75 | "eslint-plugin-react": "7.30.1",
|
75 | 76 | "typescript": "4.9.5",
|
76 | 77 | "vite": "3.2.6",
|
77 |
| - "jest": "^26.0.0", |
78 |
| - "jest-electron": "^0.1.12", |
| 78 | + "jest": "~29.5.0", |
| 79 | + "util": "~0.12.5", |
| 80 | + "jest-environment-jsdom": "~29.5.0", |
| 81 | + "@jest/globals": "~29.5.0", |
| 82 | + "ts-jest": "~29.2.5", |
79 | 83 | "react": "^18.0.0",
|
80 | 84 | "react-dom": "^18.0.0",
|
81 | 85 | "react-router-dom": "6.9.0",
|
|
0 commit comments