Releases: developit/jsdom-worker
Releases Β· developit/jsdom-worker
0.3.0
What's Changed
- feat: switch worker.terminate to log warning instead of throwing error by @G07cha in #13
New Contributors
Full Changelog: 0.2.1...0.3.0
0.2.1
- 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
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)