Permalink
Browse files

Run clean-browser before testing with karma

  • Loading branch information...
1 parent e1b504c commit d6234fb5d0e7beb5928462e0c44edac9071a09e6 @lucasfcosta lucasfcosta committed Dec 19, 2015
Showing with 3 additions and 3 deletions.
  1. +3 −3 Makefile
View
@@ -61,17 +61,17 @@ test-cov: node_modules
--require ./test/bootstrap \
$(TESTS) \
-test-phantom: chai.js
+test-phantom: clean-browser chai.js
@printf "==> [Test :: Karma (PhantomJS)]\n"
@./node_modules/karma/bin/karma start \
--single-run --browsers PhantomJS
-test-firefox: chai.js
+test-firefox: clean-browser chai.js
@printf "==> [Test :: Karma (Firefox)]\n"
@./node_modules/karma/bin/karma start \
--browsers Firefox
-test-sauce: chai.js
+test-sauce: clean-browser chai.js
@printf "==> [Test :: Karma (Sauce)]\n"
@CHAI_TEST_ENV=sauce ./node_modules/karma/bin/karma start \
--single-run

0 comments on commit d6234fb

Please sign in to comment.