Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Let web-worker package fall back to using the underlying module directly#1113

Merged
lemonmade merged 2 commits intomasterfrom
web-worker-test-env
Oct 15, 2019
Merged

Let web-worker package fall back to using the underlying module directly#1113
lemonmade merged 2 commits intomasterfrom
web-worker-test-env

Conversation

@lemonmade
Copy link
Copy Markdown
Member

This PR makes @shopify/web-worker work seamlessly in the test environment. Since the test environment preserves the original async import (the Babel plugin is not used there), we can just get access and proxy method calls to it.

@lemonmade lemonmade requested a review from ismail-syed October 11, 2019 17:07
@lemonmade lemonmade merged commit b382290 into master Oct 15, 2019
@lemonmade lemonmade deleted the web-worker-test-env branch October 15, 2019 13:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants