Skip to content

Commit 2d861b6

Browse files
authored
test: add hono-context test for cloudflare workers (#32)
1 parent efaeaa4 commit 2d861b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/cloudflare-workers/e2e.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ test('Should return 200 response - /', async ({ page }) => {
1818

1919
const contentH4 = await page.textContent('h4')
2020
expect(contentH4).toBe('Extra is stuff')
21+
22+
const contentH5 = await page.textContent('h5')
23+
expect(contentH5).toBe('Var in Variables is My variable set in c.set')
2124
})
2225

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

0 commit comments

Comments
 (0)