Add wasm test script

This commit is contained in:
bitfl0wer 2024-07-11 15:48:06 +02:00
parent 829cc9878f
commit d0e2cc29dd
No known key found for this signature in database
GPG Key ID: 0ACD574FCF5226CF
1 changed files with 6 additions and 0 deletions

6
test-wasm.sh Executable file
View File

@ -0,0 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#!/bin/sh
wasm-pack test --firefox --headless -- --no-default-features --target=wasm32-unknown-unknown "$@"