Unverified Commit c628076e authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Disable flakey middleware-dev-error test (#55539)

x-ref: [slack
thread](https://vercel.slack.com/archives/C04DUD7EB1B/p1695039655548129)
parent 11055012
......@@ -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 () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment