Vladimir 084e929c8e
fix!: correctly interop nested default for external and inlined modules (#2512)
* 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
2022-12-16 15:33:42 +01:00

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"
}
}