diff --git a/benchmark/npm-test.sh b/benchmark/npm-test.sh new file mode 100755 index 000000000..7bae0a9ff --- /dev/null +++ b/benchmark/npm-test.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# exit when any command fails +set -e + +# only do this if the files don't exist ai! +ln -s /npm-install/node_modules /npm-install/package-lock.json . + + +sed -i 's/\bxtest(/test(/g' *.spec.js +npm run test +