Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
aralroca committed Dec 8, 2024
1 parent b6e9a50 commit b7459a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Deno.test('should resolve a page', async () => {

const response = await handler(req);
assertEquals(response.status, 200);
assert(response.body.includes('<title>Brisa</title><'));
assert((await response.text()).includes('<title>Brisa</title><'));
assertEquals(
response.headers.get('cache-control'),
'no-cache, no-store, must-revalidate',
Expand Down

0 comments on commit b7459a3

Please sign in to comment.