mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
* fix: correctly interop nested default for external and inlined modules, if environment is not node * chore: cleanup * chore: cleanup * test: update default interop test * chore: update module interop tests * fix: add environment to enzym example * chore: update tests * test: don't run module tests without threads, because we don't clear ESM cache * chore: correctly reset current test environment
27 lines
588 B
JSON
27 lines
588 B
JSON
{
|
|
"name": "@vitest/example-enzyme",
|
|
"scripts": {
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui"
|
|
},
|
|
"dependencies": {
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/enzyme": "^3.10.12",
|
|
"@types/react": "^17.0.45",
|
|
"@types/react-dom": "^17.0.17",
|
|
"@vitejs/plugin-react": "latest",
|
|
"@vitest/ui": "latest",
|
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
|
|
"enzyme": "^3.11.0",
|
|
"jsdom": "^20.0.3",
|
|
"vite": "latest",
|
|
"vitest": "latest"
|
|
},
|
|
"stackblitz": {
|
|
"startCommand": "npm run test:ui"
|
|
}
|
|
}
|