Skip to content

Commit

Permalink
test: add hono-context test for cloudflare workers (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogadra authored Nov 23, 2024
1 parent efaeaa4 commit 2d861b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/cloudflare-workers/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ test('Should return 200 response - /', async ({ page }) => {

const contentH4 = await page.textContent('h4')
expect(contentH4).toBe('Extra is stuff')

const contentH5 = await page.textContent('h5')
expect(contentH5).toBe('Var in Variables is My variable set in c.set')
})

test('Should return 200 response - /api', async ({ page }) => {
Expand Down

0 comments on commit 2d861b6

Please sign in to comment.