|
49 | 49 | "test:node": "npm run test:mocha", |
50 | 50 | "test:node:coverage": "c8 npm run test:mocha", |
51 | 51 | "test:browser": "npm run test:karma", |
| 52 | + "test:vitest": "vitest run", |
| 53 | + "test:vitest:unit": "vitest run --project unit", |
| 54 | + "test:vitest:browser": "vitest run --project browser", |
| 55 | + "test:vitest:watch": "vitest", |
52 | 56 | "test:package": "npm run test:eslint && npm run test:exports", |
53 | 57 | "test:eslint": "node bin/ssl_hotfix.js eslint lib/**/*.js", |
54 | 58 | "test:mocha": "node bin/ssl_hotfix.js mocha test/unit/**/*.js --timeout 30000 --exit", |
|
100 | 104 | "@rollup/plugin-json": "^4.1.0", |
101 | 105 | "@rollup/plugin-multi-entry": "^4.1.0", |
102 | 106 | "@rollup/plugin-node-resolve": "^9.0.0", |
| 107 | + "@vitest/browser": "^4.0.18", |
| 108 | + "@vitest/browser-playwright": "^4.0.18", |
103 | 109 | "abortcontroller-polyfill": "^1.7.8", |
104 | 110 | "auto-changelog": "^2.5.0", |
105 | 111 | "body-parser": "^1.20.4", |
|
136 | 142 | "mocha": "^10.8.2", |
137 | 143 | "multer": "^1.4.4", |
138 | 144 | "pacote": "^20.0.0", |
| 145 | + "playwright": "^1.58.2", |
139 | 146 | "prettier": "^3.8.1", |
140 | 147 | "pretty-bytes": "^6.1.1", |
141 | 148 | "rollup": "^2.79.2", |
|
147 | 154 | "stream-throttle": "^0.1.3", |
148 | 155 | "string-replace-async": "^3.0.2", |
149 | 156 | "tar-stream": "^3.1.7", |
150 | | - "typescript": "^4.9.5" |
| 157 | + "typescript": "^4.9.5", |
| 158 | + "vitest": "^4.0.18" |
151 | 159 | }, |
152 | 160 | "browser": { |
153 | 161 | "./dist/node/axios.cjs": "./dist/browser/axios.cjs", |
|
0 commit comments