Skip to content

Commit

Permalink
fix: bump up Hono and tweak the test (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe authored Dec 14, 2023
1 parent 021a2e6 commit 42ce4b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@types/node": "^20.10.0",
"@types/supertest": "^2.0.12",
"eslint": "^8.55.0",
"hono": "^3.9.2",
"hono": "^3.11.7",
"jest": "^29.6.1",
"np": "^7.7.0",
"publint": "^0.1.16",
Expand Down
2 changes: 1 addition & 1 deletion test/serve-static.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('Serve Static Middleware', () => {
it('Should return 404 for non-existent files', async () => {
const res = await request(server).get('/static/does-not-exist.html')
expect(res.status).toBe(404)
expect(res.headers['content-type']).toBe('text/plain;charset=UTF-8')
expect(res.headers['content-type']).toBe('text/plain; charset=UTF-8')
expect(res.text).toBe('404 Not Found')
})

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2876,10 +2876,10 @@ hexoid@^1.0.0:
resolved "https://registry.yarnpkg.com/hexoid/-/hexoid-1.0.0.tgz#ad10c6573fb907de23d9ec63a711267d9dc9bc18"
integrity sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g==

hono@^3.9.2:
version "3.9.2"
resolved "https://registry.yarnpkg.com/hono/-/hono-3.9.2.tgz#db31a6ce733131ee16bce0c9bd031a0708ebe052"
integrity sha512-180NOiMadqU3lGmN6ajPDZvZPWus3a9mtVaAUR9uG0SImngBwRLA8vbnV0oUfUAgFT4nX55sGV9dVA06OuikHA==
hono@^3.11.7:
version "3.11.7"
resolved "https://registry.yarnpkg.com/hono/-/hono-3.11.7.tgz#e44f8aa3a18f19775304328bde6f559f7a02447f"
integrity sha512-TcfAq7IdipF+9coxnuzYlSSBXbm9mTyWjjagLCv/2ampboNcKJdi+XCK5G48mHQtpI5+9Rj3J4FfcGgw9vzIww==

hosted-git-info@^2.1.4:
version "2.8.9"
Expand Down

0 comments on commit 42ce4b8

Please sign in to comment.