|
34 | 34 | "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write", |
35 | 35 | "build:code": "babel src -d dist --copy-files", |
36 | 36 | "build": "npm-run-all -p \"build:**\"", |
37 | | - "test:only": "jest", |
38 | | - "test:watch": "pnpm run test:only -- --watch", |
39 | | - "test:coverage": "pnpm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage", |
40 | | - "pretest": "pnpm run lint", |
41 | | - "test": "pnpm run test:coverage", |
| 37 | + "test:watch": "rstest -w", |
| 38 | + "test": "rstest", |
42 | 39 | "prepare": "pnpm run build" |
43 | 40 | }, |
44 | 41 | "dependencies": { |
|
49 | 46 | "range-parser": "^1.2.1" |
50 | 47 | }, |
51 | 48 | "devDependencies": { |
52 | | - "@rspack/core": "2.0.0-beta.5", |
53 | 49 | "@babel/cli": "^7.16.7", |
54 | 50 | "@babel/core": "^7.16.7", |
55 | 51 | "@babel/preset-env": "^7.16.7", |
56 | 52 | "@fastify/express": "^4.0.2", |
57 | 53 | "@hapi/hapi": "^21.3.7", |
58 | 54 | "@hono/node-server": "^1.12.0", |
| 55 | + "@rspack/core": "2.0.0-beta.5", |
| 56 | + "@rstest/core": "0.9.2", |
59 | 57 | "@types/connect": "^3.4.35", |
60 | 58 | "@types/express": "^5.0.2", |
61 | 59 | "@types/mime-types": "^3.0.1", |
62 | 60 | "@types/node": "^22.3.0", |
63 | 61 | "@types/on-finished": "^2.3.4", |
64 | 62 | "@types/range-parser": "^1.2.7", |
65 | | - "babel-jest": "^30.1.2", |
66 | 63 | "connect": "^3.7.0", |
67 | 64 | "cspell": "^9.6.2", |
68 | 65 | "deepmerge": "^4.2.2", |
|
74 | 71 | "file-loader": "^6.2.0", |
75 | 72 | "finalhandler": "^2.1.0", |
76 | 73 | "hono": "^4.4.13", |
77 | | - "jest": "^30.1.3", |
78 | 74 | "koa": "^3.0.0", |
79 | 75 | "npm-run-all": "^4.1.5", |
80 | 76 | "prettier": "^3.6.0", |
|
0 commit comments