Skip to content

Commit 8ae58f3

Browse files
fix: test
1 parent ae79053 commit 8ae58f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('HTML', () => {
4444
})
4545

4646
it('return any html tag', async () => {
47-
const app = new Elysia().use(html()).get('/', () => `<h1>Hello World</h1>`)
47+
const app = new Elysia().use(html()).get('/', () => `<html>Hello World</html>`)
4848

4949
const res = await app.handle(req('/'))
5050
expect(res.headers.get('Content-type')).toContain('text/html; charset=utf8')

0 commit comments

Comments
 (0)