Skip to content

Commit

Permalink
Disable flakey middleware-dev-error test (#55539)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk authored Sep 18, 2023
1 parent 1105501 commit c628076
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/integration/middleware-dev-errors/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,10 @@ describe('Middleware development errors', () => {
it('logs the error correctly', async () => {
await fetchViaHTTP(context.appPort, '/')
expect(context.logs.output).toContain(`Expected '{', got '}'`)
expect(context.logs.output.split(`Expected '{', got '}'`).length).toEqual(
2
)
// TODO: investigate occasional duplicate errors causing flakiness
// expect(context.logs.output.split(`Expected '{', got '}'`).length).toEqual(
// 2
// )
})

it('renders the error correctly and recovers', async () => {
Expand Down

0 comments on commit c628076

Please sign in to comment.