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(node): stub findSourceMap for ava #23899

Merged
merged 3 commits into from
May 20, 2024
Merged

fix(node): stub findSourceMap for ava #23899

merged 3 commits into from
May 20, 2024

Conversation

marvinhagemeister
Copy link
Contributor

This stubs findSourceMap in node:module by always returning undefined as if it never found a source map. This unblocks the ava test runner.

Fixes #18666

@marvinhagemeister marvinhagemeister merged commit eb97f11 into main May 20, 2024
17 checks passed
@marvinhagemeister marvinhagemeister deleted the source-map-stub branch May 20, 2024 14:42
bartlomieju pushed a commit that referenced this pull request May 21, 2024
This stubs `findSourceMap` in `node:module` by always returning
`undefined` as if it never found a source map. This unblocks the `ava`
test runner.

Fixes #18666
bartlomieju pushed a commit that referenced this pull request May 21, 2024
This stubs `findSourceMap` in `node:module` by always returning
`undefined` as if it never found a source map. This unblocks the `ava`
test runner.

Fixes #18666
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.

node:module does not provide an export named 'findSourceMap'
2 participants