Skip to content

Commit

Permalink
Add watch script and modify script so it works
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestalmage committed Jul 13, 2015
1 parent 3f1f186 commit 6ffa52b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -17,6 +17,7 @@
"cover": "istanbul cover ./node_modules/.bin/_mocha",
"lint": "jshint *.js lib/*.js lib/**/*.js test/*.js test/**/*.js",
"debug": "mocha",
"watch": "mocha -w",
"style": "jscs ./**/*.js && jscs ./test/** --config=./test/.jscsrc"
},
"files": [
Expand Down
3 changes: 3 additions & 0 deletions test/test.js
Expand Up @@ -12,6 +12,9 @@ describe('npm-taken', function() {
var httpAlternate = nock(HTTP_URL);

before(function() {
if (!nock.isActive()) {
nock.activate();
}
mainRegistry = nock('https://registry.npmjs.com');
});

Expand Down

0 comments on commit 6ffa52b

Please sign in to comment.