diff --git a/veilid-wasm/wasm_test.sh b/veilid-wasm/wasm_test.sh index 3103cb57..1fcde9f0 100755 --- a/veilid-wasm/wasm_test.sh +++ b/veilid-wasm/wasm_test.sh @@ -15,6 +15,10 @@ wasm-pack build $WASM_PACK_FLAGS --target bundler --weak-refs # Install test deps and run test suite cd tests npm install +original_tmpdir=$TMPDIR +mkdir --parents ~/tmp +export TMPDIR=~/tmp npm run test:headless +export TMPDIR=$original_tmpdir popd &> /dev/null