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

Support WebWorkers. Change default value for coverageGlobalScope to be globalThis instead of this. #709

Open
JessicaSachs opened this issue Dec 16, 2022 · 0 comments

Comments

@JessicaSachs
Copy link

Some details in the NYC repo on an issue, but TLDR: I want to be able to execute istanbul's transpiled code around a WebWorker.

To get Istanbul working with WebWorkers, I need to be able to override coverageGlobalScope to use globalThis but then thought, why shouldn't it be the default? globalThis has been around for a while.

@JessicaSachs JessicaSachs changed the title Change default value for coverageGlobalScope to be globalThis instead of this. Support WebWorkers. Change default value for coverageGlobalScope to be globalThis instead of this. Dec 16, 2022
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

No branches or pull requests

1 participant