Skip to content
Closed
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ export async function createVitestConfigPlugin(
test: {
setupFiles,
globals: true,
// Default to `false` to align with the Karma/Jasmine experience.
isolate: false,
// Default to `false` to align with the Karma/Jasmine experience when using DOM emulation
// TODO: Investigate how this can be the default for browser mode as well
isolate: !!browser?.enabled,
sequence: { setupFiles: 'list' },
},
optimizeDeps: {
Expand Down