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.