Jsdom Worker Versions Save

👷‍♀️ Use Web Workers in Jest / JSDOM 🌈

0.3.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/developit/jsdom-worker/compare/0.2.1...0.3.0

0.2.1

3 years ago
  • Switch from eval() to Function() for code evaluation (#6)
  • Fix self.onmessage detection (#9)
  • Re-install fetch mock if it's overwritten by Jest (#9)

0.2.0

3 years ago

Wow, two years! This release includes two changes:

  • importScripts() is now mocked by default. You'll want to add your own mock, but jest-worker won't error by default now. (#2, thanks @alexnoz)
  • A bugfix for worker scripts wrapped in an immediately-invoked functions (#3, thanks again @alexnoz)

0.1.0

6 years ago

Initial release!