Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't clear mocks with vi.resetModules, cache normalised mock paths #1726

Merged
merged 3 commits into from Jul 27, 2022

Conversation

sheremet-va
Copy link
Member

@sheremet-va sheremet-va commented Jul 26, 2022

Fixes #1645
Fixes #1563

@sheremet-va sheremet-va changed the title fix: don't clear mocks with vi.resetModules fix: don't clear mocks with vi.resetModules, cache normalised mock paths Jul 26, 2022
@sheremet-va sheremet-va requested a review from antfu July 27, 2022 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with fs module mock Dynamically imported mocks are initiated multiple times
2 participants