MCPcopy
hub / github.com/vercel/next.js / testDev

Function testDev

test/e2e/app-dir/global-error/with-style-import/index.test.ts:4–7  ·  view source on GitHub ↗
(browser, errorRegex)

Source from the content-addressed store, hash-verified

2import { nextTestSetup } from 'e2e-utils'
3
4async function testDev(browser, errorRegex) {
5 await waitForRedbox(browser)
6 expect(await getRedboxHeader(browser)).toMatch(errorRegex)
7}
8
9describe('app dir - global error - with style import', () => {
10 const { next, isNextDev, skipped } = nextTestSetup({

Callers 1

index.test.tsFile · 0.70

Calls 3

waitForRedboxFunction · 0.90
getRedboxHeaderFunction · 0.90
expectFunction · 0.50

Tested by

no test coverage detected