/opt/canhelp/node_modules/next/dist/experimental/testmode/playwright
Edit: /opt/canhelp/node_modules/next/dist/experimental/testmode/playwright/next-fixture.d.ts (523B)
import type { Page, TestInfo } from '@playwright/test';
import type { NextWorkerFixture, FetchHandler } from './next-worker-fixture';
import type { NextOptions } from './next-options';
export interface NextFixture {
onFetch: (handler: FetchHandler) => void;
}
export declare function applyNextFixture(use: (fixture: NextFixture) => Promise
, { testInfo, nextOptions, nextWorker, page, }: {
testInfo: TestInfo;
nextOptions: NextOptions;
nextWorker: NextWorkerFixture;
page: Page;
}): Promise;