Skip to content

Commit 823b136

Browse files
committed
pass test with errors before yield
1 parent 19f92c5 commit 823b136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/response/stream.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ describe('Stream', () => {
7171
'event: message\ndata: "a"\n\nevent: error\ndata: "an error"\n\n'
7272
)
7373
})
74-
// TODO
75-
it.skip('handle errors before yield', async () => {
74+
75+
it('handle errors before yield', async () => {
7676
const app = new Elysia().get('/', async function* () {
7777
throw new Error('an error')
7878
})

0 commit comments

Comments
 (0)