jest's default testing environment is jsdom, however when the tests are run for either asm.js or wasm in this environment using
OR
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.
jest's default testing environment is jsdom, however when the tests are run for either asm.js or wasm in this environment using
OR
errors such as the below are reported.
asm
wasm
To reproduce remove the
testEnvironment: "node"from./jest.config.jsand run the tests.