aboutsummaryrefslogtreecommitdiffstats
path: root/test-mocks.sh
diff options
context:
space:
mode:
authorVojta Jina2011-10-31 17:56:55 -0700
committerVojta Jina2011-10-31 18:22:38 -0700
commitddf6f1143f140d81b22d21ff33de062a35999801 (patch)
tree82bdaef94cea22bcdac15cd6b482f5a845675cb3 /test-mocks.sh
parent2636105c5e363f14cda890f19ac9c3bc57556dd2 (diff)
downloadangular.js-ddf6f1143f140d81b22d21ff33de062a35999801.tar.bz2
test(mocks): test mocks with compiled angular
Unfortunately, there people in our team (me), who are not able to use angular.* namespace prefix when writing angular-mocks code, so we need to test it...
Diffstat (limited to 'test-mocks.sh')
-rwxr-xr-xtest-mocks.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-mocks.sh b/test-mocks.sh
new file mode 100755
index 00000000..b91fc901
--- /dev/null
+++ b/test-mocks.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+if [ ! -e test.dissable ]; then
+ java -jar lib/jstestdriver/JsTestDriver.jar --tests all --config jsTestDriver-mocks.conf $@
+fi