tree-sitter/script/test-wasm
Max Brunsfeld 3fc459a84b Reorganize language bindings
* Move rust binding: lib/binding -> lib/binding_rust
* Move wasm bindinig: lib/web -> lib/binding_web
* Add wasm readme
2019-05-07 10:41:49 -07:00

12 lines
205 B
Bash
Executable file

#!/usr/bin/env bash
set -e
cd lib/binding_web
if [ ! -d "node_modules/chai" ] || [ ! -d "node_modules/mocha" ]; then
echo "Installing test dependencies..."
npm install
fi
./node_modules/.bin/mocha