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

add listMockedModules #103

Merged
merged 1 commit into from
Oct 19, 2023
Merged

add listMockedModules #103

merged 1 commit into from
Oct 19, 2023

Conversation

giltayar
Copy link
Contributor

@giltayar giltayar commented Oct 19, 2023

This was requested in order to (as a good use case) troubleshoot whether testdouble really did mock or not.

Returns both CJS and ESM mocked files.

Note that it returns the full path of the mocked file, no matter what the specifier mocked was, and it returns them as file: URLs and not file paths. This is true for both CJS and ESM mocked files

@giltayar
Copy link
Contributor Author

giltayar commented Oct 19, 2023

@searls if you'd like to go over the PR, I'll give you a few days, otherwise I'll just merge

@searls
Copy link
Member

searls commented Oct 19, 2023 via email

@giltayar giltayar merged commit 9333f72 into main Oct 19, 2023
6 checks passed
@giltayar giltayar deleted the add-list-mocked-modules branch October 19, 2023 17:52
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.

2 participants