Skip to content

Commit

Permalink
Remove lib-cov artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jan 5, 2019
1 parent 1401576 commit e4f27da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
13 changes: 0 additions & 13 deletions Makefile
Expand Up @@ -7,19 +7,6 @@ test:

.PHONY: test

coverage:
@rm -rf lib-cov
@jscoverage lib lib-cov
@COVERAGE=1 ./node_modules/.bin/mocha \
--require ./test/common \
--reporter html-cov \
./documentation/**/*.md \
./test/**/*.js \
> lib-cov/index.html
@echo "Coverage report has been generated to lib-cov/index.html"

.PHONY: coverage

test-browser:
@./node_modules/.bin/serve .

Expand Down
4 changes: 1 addition & 3 deletions test/common.js
@@ -1,9 +1,7 @@
/* global unexpected:true , ko:true, unexpectedKnockout:true */
/* exported ko */
ko = require('knockout');
unexpectedKnockout = process.env.COVERAGE
? require('../lib-cov/unexpected-knockout')
: require('../lib/unexpected-knockout');
unexpectedKnockout = require('../lib/unexpected-knockout');
unexpected = require('unexpected')
.clone()
.installPlugin(unexpectedKnockout);
Expand Down

0 comments on commit e4f27da

Please sign in to comment.