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
2 changes: 2 additions & 0 deletions packages/vitest-pool-workers/src/pool/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,8 @@ async function getProjectMiniflare(
await forEachMiniflare(project.mf, (mf) => mf.setOptions(mfOptions));
} else {
log.debug(`Reusing runtime for ${project.relativePath}...`);
// Set same options to reset DB connections
await forEachMiniflare(project.mf, (mf) => mf.setOptions(mfOptions));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should land this as it is since it then makes it the same as when there are changes.

}

return project.mf;
Expand Down
Loading