From 653272dfab73676b02e0179e11bcd2b83b777542 Mon Sep 17 00:00:00 2001 From: Troy Goode Date: Sun, 28 Apr 2013 11:52:35 -0400 Subject: [PATCH] don't rely on global installation of mocha --- package.json | 2 +- test/issue-2.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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();