|
100 | 100 | "build:docs": "cross-env NODE_ENV=docs yarn _babel", |
101 | 101 | "clean": "rm -rf lib/ dist/ coverage/ .nyc_output/ jsdoc/ test/e2e/.soroban", |
102 | 102 | "docs": "yarn build:docs && jsdoc -c ./config/.jsdoc.json", |
103 | | - "test": "yarn test:node && yarn test:integration && yarn test:browser", |
104 | | - "test:all": "yarn test:node && yarn test:integration && yarn test:browser && yarn test:e2e", |
| 103 | + "test": "yarn test:node && yarn test:node:no-axios && yarn test:integration && yarn test:browser", |
| 104 | + "test:all": "yarn test:node && yarn test:node:no-axios && yarn test:integration && yarn test:browser && yarn test:e2e", |
105 | 105 | "test:e2e": "./test/e2e/initialize.sh && vitest run --config config/vitest.config.e2e.ts --coverage", |
106 | 106 | "test:node": "vitest run test/unit --config config/vitest.config.ts --coverage", |
| 107 | + "test:node:no-axios": "cross-env USE_AXIOS=false vitest run test/unit --config config/vitest.config.no-axios.ts", |
107 | 108 | "test:e2e:noeval": "NODE_OPTIONS=--disallow-code-generation-from-strings yarn test:e2e", |
108 | 109 | "test:integration": "vitest run test/integration --config config/vitest.config.ts --coverage", |
109 | 110 | "test:browser": "yarn build:browser && vitest run --config config/vitest.config.browser.ts test/unit --coverage", |
|
161 | 162 | "@vitest/coverage-istanbul": "4.1.2", |
162 | 163 | "@vitest/coverage-v8": "^4.1.2", |
163 | 164 | "@vitest/ui": "^4.1.2", |
164 | | - "axios-mock-adapter": "^1.22.0", |
165 | 165 | "babel-loader": "^9.1.3", |
166 | 166 | "babel-plugin-istanbul": "^7.0.1", |
167 | 167 | "babel-plugin-transform-define": "^2.1.4", |
|
183 | 183 | "jsdom": "^27.0.0", |
184 | 184 | "lint-staged": "^15.5.1", |
185 | 185 | "lodash": "^4.17.21", |
| 186 | + "msw": "^2.13.4", |
186 | 187 | "node-polyfill-webpack-plugin": "^3.0.0", |
187 | 188 | "null-loader": "^4.0.1", |
188 | 189 | "nyc": "^17.0.0", |
|
0 commit comments