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
Incompatible with with Comlink Workers #5571
Comments
Hello @charlieforward9. Please provide a minimal reproduction using a GitHub repository or StackBlitz (you can also use examples). Issues marked with |
We cannot support |
@sheremet-va Thank you. Is this something I should mention in the Comlink library? Or is browser mode a plenty workaround to avoid this additional work? |
I am still curious about this issue. As my last comment is coming up on the 3 day mark, I am adding an additional one to prevent any automatic action from taking place, and also to add that I will be writing the tests for this module at the beginning of next week, so I hope to be adding a reproducible sample here within the next 3 days. |
I don't think the comlink library can do anything to support Supporting |
Describe the bug
I was testing my code that uses a Comlink web worker. I followed the Testing with Web Workers instructions.
Error prior to
@vitest/web-worker
configError after putting
@vitest/web-worker
into setupFiles configMy service worker is used as such, this is the only please a worker is used across/referenced the entire application.
My understanding of service workers is still quite limited.
Reproduction
TODO ( about to 💤 on it and get back to in the AM)
System Info
Used Package Manager
npm
Validations
Tasks
The text was updated successfully, but these errors were encountered: