Skip to content

Commit d6234fb

Browse files
committed
Run clean-browser before testing with karma
1 parent e1b504c commit d6234fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ test-cov: node_modules
6161
--require ./test/bootstrap \
6262
$(TESTS) \
6363

64-
test-phantom: chai.js
64+
test-phantom: clean-browser chai.js
6565
@printf "==> [Test :: Karma (PhantomJS)]\n"
6666
@./node_modules/karma/bin/karma start \
6767
--single-run --browsers PhantomJS
6868

69-
test-firefox: chai.js
69+
test-firefox: clean-browser chai.js
7070
@printf "==> [Test :: Karma (Firefox)]\n"
7171
@./node_modules/karma/bin/karma start \
7272
--browsers Firefox
7373

74-
test-sauce: chai.js
74+
test-sauce: clean-browser chai.js
7575
@printf "==> [Test :: Karma (Sauce)]\n"
7676
@CHAI_TEST_ENV=sauce ./node_modules/karma/bin/karma start \
7777
--single-run

0 commit comments

Comments
 (0)