We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae79053 commit 8ae58f3Copy full SHA for 8ae58f3
test/index.test.ts
@@ -44,7 +44,7 @@ describe('HTML', () => {
44
})
45
46
it('return any html tag', async () => {
47
- const app = new Elysia().use(html()).get('/', () => `<h1>Hello World</h1>`)
+ const app = new Elysia().use(html()).get('/', () => `<html>Hello World</html>`)
48
49
const res = await app.handle(req('/'))
50
expect(res.headers.get('Content-type')).toContain('text/html; charset=utf8')
0 commit comments