Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Commit

Permalink
upgrade node modules
Browse files Browse the repository at this point in the history
  • Loading branch information
afeld committed Apr 1, 2014
1 parent 942f28d commit c591b57
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@
"url": "https://github.com/afeld/jsonp.git"
},
"dependencies": {
"ejs": "0.8.x",
"express": "~3.2.1",
"json3": "3.2.x",
"request": "~2.20.0",
"underscore": "1.4.x",
"expect.js": "0.2.x",
"mocha": "~1.9.0",
"ejs": "~1.0.0",
"express": "~3.5.1",
"json3": "~3.3.0",
"request": "~2.34.0",
"underscore": "~1.6.0",
"expect.js": "~0.3.1",
"mocha": "~1.18.2",
"newrelic": "~1.4.0",
"sinon": "~1.6.0"
"sinon": "~1.9.0"
},
"devDependencies": {
"grunt": "0.4.x",
"grunt": "~0.4.4",
"grunt-contrib-jshint": "~0.9.2",
"grunt-mocha": "~0.4.10",
"grunt-mocha-test": "0.2.x",
"supertest": "~0.6.0",
"grunt-contrib-watch": "~0.3.1"
"grunt-mocha-test": "~0.10.0",
"supertest": "~0.10.0",
"grunt-contrib-watch": "~0.6.1"
},
"optionalDependencies": {},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion test.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Mocha Tests</title>
<link rel="stylesheet" href="node_modules/mocha/mocha.css" />
<script src="public/jquery.js" type="text/javascript"></script>
<script src="node_modules/expect.js/expect.js" type="text/javascript"></script>
<script src="node_modules/expect.js/index.js" type="text/javascript"></script>
<script src="node_modules/mocha/mocha.js" type="text/javascript"></script>
<script>mocha.setup('bdd');</script>
<!-- needed for grunt -->
Expand Down
5 changes: 2 additions & 3 deletions test/server_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ describe('app', function(){
var destApp = express();
destApp.get('/', function(req, res){
res.set({
'Content-Length': 123,
'Connection': 'close',
'Connection': 'blabla',
'Server': 'CERN/3.0 libwww/2.17',
'X-Frame-Options': 'SAMEORIGIN',
// an arbitrary header, just to ensure they're getting passed
Expand All @@ -61,7 +60,7 @@ describe('app', function(){
.query({url: 'http://localhost:8001'})
.expect('access-control-allow-origin', '*')
.expect('content-length', '18')
.expect('connection', 'keep-alive')
.expect('connection', 'close')
.expect('x-foo', 'bar')
.expect(json, function(err, res){
if (!err){
Expand Down

0 comments on commit c591b57

Please sign in to comment.