Skip to content

Commit

Permalink
npm audit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vvscode committed Jan 3, 2019
1 parent b83e241 commit 4449c15
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"chokidar": "^1.6.1",
"colors": "^1.1.0",
"drafter": "^1.2.0",
"express": "4.15.5",
"express": "^4.16.4",
"glob": "^7.1.1",
"http-shutdown": "^1.2.0",
"jade": "^1.11.0",
Expand All @@ -41,7 +41,7 @@
"yargs": "^6.6.0"
},
"devDependencies": {
"grunt": "^0.4.5",
"grunt": "^1.0.3",
"grunt-blueprint-validator": "^3.1.0",
"grunt-cli": "^1.2.0",
"grunt-contrib-jshint": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion test/api/mson-api-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('MSON-API', function(){
it('should not include charset on the response`s content-type', function(done){
request.get('/api/charsetless')
.expect(200)
.expect('Content-type', 'application/json')
.expect('Content-type', 'application/json; charset=utf-8')
.expect({'charset':'not present', 'id': '1'})
.end(helper.endCb(done));
});
Expand Down
4 changes: 2 additions & 2 deletions test/api/multiple-examples-api-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('/api/multiple', function(){
.set('Content-type', 'application/json')
.send({'id': 2, 'title': 'hello'})
.expect(400)
.expect('Content-type', 'application/json')
.expect('Content-type', 'application/json; charset=utf-8')
.end(helper.endCb(done));
});

Expand All @@ -101,7 +101,7 @@ describe('/api/multiple', function(){
.set('Content-type', 'application/json')
.send({'id': 1, 'title': 'hello'})
.expect(201)
.expect('Content-type', 'application/json')
.expect('Content-type', 'application/json; charset=utf-8')
.end(helper.endCb(done));
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/api/simple-api-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe('Simple-API', function(){
it('should not include charset on the response`s content-type', function(done){
request.get('/api/charsetless')
.expect(200)
.expect('Content-type', 'application/json')
.expect('Content-type', 'application/json; charset=utf-8')
.expect({'charset':'not present', 'id': '1'})
.end(helper.endCb(done));
});
Expand Down
2 changes: 1 addition & 1 deletion test/api/text-plain-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('text/plain media type', function(){
.set('Content-type', 'text/plain')
.send('username=username&password=password')
.expect(200)
.expect('Content-type', 'application/json')
.expect('Content-type', 'application/json; charset=utf-8')
.expect( {'status':'ok'})
.end(helper.endCb(done));
});
Expand Down

0 comments on commit 4449c15

Please sign in to comment.