UNPKG

next

Version:

The React Framework

18 lines (17 loc) 871 B
import * as base from '@playwright/test'; import type { NextFixture } from './next-fixture'; import type { NextOptions, NextOptionsConfig } from './next-options'; import type { NextWorkerFixture } from './next-worker-fixture'; import { defaultPlaywrightConfig } from './default-config'; export { defaultPlaywrightConfig }; export * from '@playwright/test'; export declare function defineConfig<T extends NextOptionsConfig, W>(config: base.PlaywrightTestConfig<T, W>): base.PlaywrightTestConfig<T, W>; export type { NextFixture, NextOptions }; export type { FetchHandlerResult } from '../proxy'; export declare const test: base.TestType<base.PlaywrightTestArgs & base.PlaywrightTestOptions & { next: NextFixture; nextOptions: NextOptions; }, base.PlaywrightWorkerArgs & base.PlaywrightWorkerOptions & { _nextWorker: NextWorkerFixture; }>; export default test;