securityos/node_modules/next/dist/experimental/testmode/playwright/index.d.ts

19 lines
826 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import * as base from '@playwright/test';
import type { NextFixture } from './next-fixture';
import type { NextOptions } from './next-options';
import type { NextWorkerFixture } from './next-worker-fixture';
export * from '@playwright/test';
export type { NextFixture, NextOptions };
export type { FetchHandlerResult } from '../proxy';
export interface NextOptionsConfig {
nextOptions?: NextOptions;
}
export declare function defineConfig<T extends NextOptionsConfig, W>(config: base.PlaywrightTestConfig<T, W>): base.PlaywrightTestConfig<T, W>;
export declare const test: base.TestType<base.PlaywrightTestArgs & base.PlaywrightTestOptions & {
next: NextFixture;
nextOptions: NextOptions;
}, base.PlaywrightWorkerArgs & base.PlaywrightWorkerOptions & {
_nextWorker: NextWorkerFixture;
}>;
export default test;