Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Refactor tests to run in many environments #917

Open
AnthonyRonning opened this issue Dec 29, 2023 · 0 comments
Open

Refactor tests to run in many environments #917

AnthonyRonning opened this issue Dec 29, 2023 · 0 comments
Labels

Comments

@AnthonyRonning
Copy link
Contributor

I've started this with the GlueDB testing. Write the testing functions once and call it from both wasm32 and non-wasm32.

Although additionally, since we want to move towards mutiny working in a worker as well, we should start running tests in browser workers too.

To do this, we need to create seperate test.rs files, unfortunately.

https://docs.rs/wasm-bindgen-test/latest/src/wasm_bindgen_test/lib.rs.html#38

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

No branches or pull requests

1 participant