diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index cc47dfd..47fc436 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -10,8 +10,9 @@ RUN apt-get update && apt-get install nodejs -y RUN rustup target install wasm32-unknown-unknown -USER vscode RUN cargo install wasm-bindgen-cli RUN cargo install wasm-opt RUN cargo install wasm-pack RUN cargo install just + +RUN chmod -R g+w $CARGO_HOME/registry \ No newline at end of file diff --git a/justfile b/justfile index e0a86eb..bbd6559 100644 --- a/justfile +++ b/justfile @@ -32,8 +32,8 @@ test-unit: test-integration: cargo test --test integration_tests test-wasm-firefox: - wasm-pack test --headless --firefox --test wasm_browser + (which geckodriver && wasm-pack test --headless --firefox --test wasm_browser) || echo "Install geckodriver to run Firefox tests." test-wasm-chrome: - wasm-pack test --headless --chrome --test wasm_browser + (which chromedriver && wasm-pack test --headless --chrome --test wasm_browser) || echo "Install chromedriver to run Chrome tests." test-wasm-node: wasm-pack test --node --test wasm_node