Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions packages/vitest/src/node/plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,18 @@
// https://github.com/vitejs/vite/pull/16453
emptyOutDir: false,
},
// eslint-disable-next-line ts/ban-ts-comment

Check failure on line 116 in packages/vitest/src/node/plugins/index.ts

View workflow job for this annotation

GitHub Actions / Lint: node-latest, ubuntu-latest

Trailing spaces not allowed
// @ts-ignore Vite 6 compat
environments: {
ssr: {
resolve: {
// by default Vite resolves `module` field, which not always a native ESM module
// setting this option can bypass that and fallback to cjs version
mainFields: [],
conditions: ['node'],
},
},
},
test: {
poolOptions: {
threads: {
Expand Down
12 changes: 12 additions & 0 deletions packages/vitest/src/node/plugins/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,18 @@
),
},
},
// eslint-disable-next-line ts/ban-ts-comment

Check failure on line 99 in packages/vitest/src/node/plugins/workspace.ts

View workflow job for this annotation

GitHub Actions / Lint: node-latest, ubuntu-latest

Trailing spaces not allowed
// @ts-ignore Vite 6 compat
environments: {
ssr: {
resolve: {
// by default Vite resolves `module` field, which not always a native ESM module
// setting this option can bypass that and fallback to cjs version
mainFields: [],
conditions: ['node'],
},
},
},
test: {
name,
},
Expand Down
Loading