|
10 | 10 | "start": "ts-node -r tsconfig-paths/register -r @openwallet-foundation/askar-nodejs src/main.ts", |
11 | 11 | "watch": "nodemon --config nodemon.json", |
12 | 12 | "debug": "nodemon --config nodemon-debug.json", |
13 | | - "test": "node --experimental-vm-modules node_modules/.bin/jest --runInBand --forceExit", |
| 13 | + "test": "vitest run", |
| 14 | + "test:watch": "vitest", |
14 | 15 | "check-types": "yarn check-types:src && yarn check-types:test", |
15 | 16 | "check-types:src": "tsc -p tsconfig.src.json --noEmit", |
16 | 17 | "check-types:test": "tsc -p tsconfig.test.json --noEmit", |
|
89 | 90 | "zstd-napi": "^0.0.10" |
90 | 91 | }, |
91 | 92 | "devDependencies": { |
92 | | - "@golevelup/ts-jest": "^0.3.7", |
| 93 | + "@golevelup/ts-vitest": "^0.5.2", |
93 | 94 | "@mikro-orm/cli": "^5.7.12", |
94 | 95 | "@mikro-orm/sqlite": "^5.7.12", |
95 | 96 | "@nestjs/testing": "^11.1.5", |
96 | 97 | "@types/express": "^5.0.0", |
97 | 98 | "@types/fs-extra": "^11.0.2", |
98 | | - "@types/jest": "^29.5.1", |
99 | | - "@types/jest-when": "^3.5.2", |
100 | 99 | "@types/jsonwebtoken": "^9.0.10", |
101 | 100 | "@types/multer": "^1.4.11", |
102 | 101 | "@types/node": "^18.15.12", |
|
111 | 110 | "eslint-import-resolver-typescript": "^3.5.5", |
112 | 111 | "eslint-plugin-import": "^2.27.5", |
113 | 112 | "eslint-plugin-prettier": "^5.1.3", |
114 | | - "jest": "^29.5.0", |
115 | | - "jest-when": "^3.5.2", |
116 | 113 | "jsonwebtoken": "^9.0.0", |
117 | 114 | "nodemon": "^2.0.22", |
118 | 115 | "patch-package": "^8.0.0", |
119 | 116 | "postinstall-postinstall": "^2.1.0", |
120 | 117 | "prettier": "^3.1.0", |
121 | 118 | "supertest": "^6.3.3", |
122 | 119 | "superwstest": "^2.0.3", |
123 | | - "ts-jest": "^29.1.0", |
124 | 120 | "ts-loader": "^9.4.2", |
125 | 121 | "ts-node": "^10.9.1", |
126 | 122 | "tsconfig-paths": "^4.2.0", |
| 123 | + "vite-tsconfig-paths": "^5.1.4", |
| 124 | + "vitest": "^2.1.8", |
| 125 | + "vitest-when": "0.5.0", |
127 | 126 | "ws": "^8.13.0" |
128 | 127 | }, |
129 | 128 | "mikro-orm": { |
|
0 commit comments