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

Tests silently pass on Wasm memory errors #113

Open
samestep opened this issue Sep 25, 2023 · 0 comments
Open

Tests silently pass on Wasm memory errors #113

samestep opened this issue Sep 25, 2023 · 0 comments

Comments

@samestep
Copy link
Contributor

While working on #112, I occasionally ran the tests while a bug was causing the generated Wasm to access memory addresses larger than the allotted size of the memory. In this case obviously the tests should fail, but it seemed like Vitest was instead just immediately aborting and giving an exit code of zero, indicating success.

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

No branches or pull requests

1 participant