Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Oct 19, 2022
1 parent d523339 commit 8995f6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/e2e/app-dir/index.test.ts
Expand Up @@ -1553,9 +1553,7 @@ describe('app dir', () => {

if (isDev) {
expect(await hasRedbox(browser)).toBe(true)
expect(await getRedboxHeader(browser)).toMatch(
/An error occurred: this is a test/
)
expect(await getRedboxHeader(browser)).toMatch(/this is a test/)
} else {
await browser
expect(
Expand Down

0 comments on commit 8995f6b

Please sign in to comment.