Skip to content
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

Investigate why tests have to be run in node base jest environment #35

Open
tplooker opened this issue Jul 17, 2020 · 0 comments
Open

Comments

@tplooker
Copy link
Member

tplooker commented Jul 17, 2020

jest's default testing environment is jsdom, however when the tests are run for either asm.js or wasm in this environment using

yarn test:asm

OR

yarn test:wasm

errors such as the below are reported.

asm

TypeError: abort is not a function

wasm

RuntimeError: unreachable

To reproduce remove the testEnvironment: "node" from ./jest.config.js and run the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant