Add some front end tests for HistoryManager

This commit is contained in:
James Allen
2017-12-19 13:58:47 +00:00
parent 4691a6e85c
commit 8ea779af58
8 changed files with 130 additions and 40 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
set -e;
COFFEE=node_modules/.bin/coffee
echo Compiling public/coffee;
$COFFEE -o public/js -c public/coffee;
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
set -e;
COFFEE=node_modules/.bin/coffee
echo Compiling test/unit_frontend/coffee;
$COFFEE -o test/unit_frontend/js -c test/unit_frontend/coffee;
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
set -e;
MOCHA="node_modules/.bin/mocha --recursive --reporter spec"
$MOCHA "$@" test/unit_frontend/js