UNPKG

next

Version:

The React Framework

13 lines (12 loc) 523 B
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<void>, { testInfo, nextOptions, nextWorker, page, }: { testInfo: TestInfo; nextOptions: NextOptions; nextWorker: NextWorkerFixture; page: Page; }): Promise<void>;