Skip to content

Commit

Permalink
Run clean-browser before testing with karma
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfcosta committed Dec 19, 2015
1 parent e1b504c commit d6234fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6234fb

Please sign in to comment.