Skip to content

Commit

Permalink
don't rely on global installation of mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
troygoode committed Apr 28, 2013
1 parent de1b95e commit 653272d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
, "supertest": "*"
}
, "scripts": {
"test": "mocha"
"test": "./node_modules/mocha/bin/mocha"
, "lint": "./node_modules/lint/bin/node-lint lib test"
}
}
1 change: 0 additions & 1 deletion test/issue-2.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ describe('issue #2', function(){
.set('Origin', 'http://example.com')
.end(function(err, res){
should.not.exist(err);
console.log(res.headers);
res.headers['access-control-allow-origin'].should.eql('http://example.com');
res.text.should.eql('LOGIN');
done();
Expand Down

0 comments on commit 653272d

Please sign in to comment.