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

Add wasm-pack wasm-bindgen test cases for wasm #107

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add wasm-pack wasm-bindgen test cases for wasm #107

wants to merge 2 commits into from

Conversation

jaynus
Copy link
Contributor

@jaynus jaynus commented Feb 20, 2020

This adds a series of wasm-pack test cases for confirming legion works in wasm. No actual changes were made except for changing a few tests to pub, then adding the serious of wasm dev requirements and cfg compile flags for allowing testing.

Testing is done with:
wasm-pack test --node -- --no-default-features

This is not possible to do in CI currently, as the action-rs workflow does not include installing node and wasm-bindgen toolchains for proper testing.

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

Successfully merging this pull request may close these issues.

1 participant