Skip to content

fix(web-worker): expose globals on self#6170

Merged
sheremet-va merged 4 commits intovitest-dev:mainfrom
sheremet-va:fix/web-wroker
Jul 23, 2024
Merged

fix(web-worker): expose globals on self#6170
sheremet-va merged 4 commits intovitest-dev:mainfrom
sheremet-va:fix/web-wroker

Conversation

@sheremet-va
Copy link
Member

Description

Fixes #6163

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@netlify
Copy link

netlify bot commented Jul 23, 2024

Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 2c13b07
🔍 Latest deploy log https://app.netlify.com/sites/vitest-dev/deploys/669fa751f15b040008d5864b
😎 Deploy Preview https://deploy-preview-6170--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sheremet-va sheremet-va merged commit 12bb567 into vitest-dev:main Jul 23, 2024
@sheremet-va sheremet-va deleted the fix/web-wroker branch July 23, 2024 13: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.

[@vitest/web-worker] Cannot acces the crypto API from vitest web worker

1 participant