Implement HtmlCanvas; move some tests to commonTest

This commit is contained in:
2019-04-09 06:39:38 -05:00
parent 7ba7edb7d4
commit 5c402b5400
17 changed files with 288 additions and 64 deletions

View File

@@ -10,12 +10,10 @@ core:
$(test_bundle): test/index.js core
mkdir -p build/bundles
npx webpack $< --silent --mode production --output $@
npx webpack $< --silent --mode development --target web --output $@
test: $(test_bundle) $(node_modules)
mkdir -p build/reports
npx mocha $@ --reporter xunit > build/reports/tests.xml
npx mocha $@
open test/index.html
clean:
rm -rf build