diff --git a/package.json b/package.json index 0c4726d..910bbef 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ , "supertest": "*" } , "scripts": { - "test": "mocha" + "test": "./node_modules/mocha/bin/mocha" , "lint": "./node_modules/lint/bin/node-lint lib test" } } diff --git a/test/issue-2.js b/test/issue-2.js index 5774f27..e3adfa4 100644 --- a/test/issue-2.js +++ b/test/issue-2.js @@ -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();