Skip to content

Commit 90c8b21

Browse files
committed
1 parent 82275b6 commit 90c8b21

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
"send": "0.15.0"
1313
},
1414
"devDependencies": {
15-
"eslint": "3.16.1",
16-
"eslint-config-standard": "6.2.1",
15+
"eslint": "3.17.0",
16+
"eslint-config-standard": "7.0.0",
1717
"eslint-plugin-markdown": "1.0.0-beta.4",
18-
"eslint-plugin-promise": "3.4.0",
19-
"eslint-plugin-standard": "2.0.1",
18+
"eslint-plugin-promise": "3.5.0",
19+
"eslint-plugin-standard": "2.1.1",
2020
"istanbul": "0.4.5",
2121
"mocha": "2.5.3",
2222
"supertest": "1.1.0"

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,14 +427,14 @@ describe('serveStatic()', function () {
427427
it('should accept string', function (done) {
428428
request(createServer(fixtures, {'maxAge': '30d'}))
429429
.get('/todo.txt')
430-
.expect('cache-control', 'public, max-age=' + 60 * 60 * 24 * 30)
430+
.expect('cache-control', 'public, max-age=' + (60 * 60 * 24 * 30))
431431
.expect(200, done)
432432
})
433433

434434
it('should be reasonable when infinite', function (done) {
435435
request(createServer(fixtures, {'maxAge': Infinity}))
436436
.get('/todo.txt')
437-
.expect('cache-control', 'public, max-age=' + 60 * 60 * 24 * 365)
437+
.expect('cache-control', 'public, max-age=' + (60 * 60 * 24 * 365))
438438
.expect(200, done)
439439
})
440440
})

0 commit comments

Comments
 (0)