Skip to content

Commit

Permalink
pass test with errors before yield
Browse files Browse the repository at this point in the history
  • Loading branch information
remorses committed Jul 30, 2024
1 parent 19f92c5 commit 823b136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/response/stream.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ describe('Stream', () => {
'event: message\ndata: "a"\n\nevent: error\ndata: "an error"\n\n'
)
})
// TODO
it.skip('handle errors before yield', async () => {

it('handle errors before yield', async () => {
const app = new Elysia().get('/', async function* () {
throw new Error('an error')
})
Expand Down

0 comments on commit 823b136

Please sign in to comment.