Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
20
node_modules/next/dist/experimental/testmode/playwright/msw.d.ts
generated
vendored
Normal file
20
node_modules/next/dist/experimental/testmode/playwright/msw.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import { defineConfig } from './index';
|
||||
import type { NextFixture } from './next-fixture';
|
||||
import { type RequestHandler } from 'msw';
|
||||
export * from 'msw';
|
||||
export * from '@playwright/test';
|
||||
export type { NextFixture };
|
||||
export { defineConfig };
|
||||
export interface MswFixture {
|
||||
use: (...handlers: RequestHandler[]) => void;
|
||||
}
|
||||
export declare const test: import("@playwright/test").TestType<import("@playwright/test").PlaywrightTestArgs & import("@playwright/test").PlaywrightTestOptions & {
|
||||
next: NextFixture;
|
||||
nextOptions: import("./next-options").NextOptions;
|
||||
} & {
|
||||
msw: MswFixture;
|
||||
mswHandlers: RequestHandler[];
|
||||
}, import("@playwright/test").PlaywrightWorkerArgs & import("@playwright/test").PlaywrightWorkerOptions & {
|
||||
_nextWorker: import("./next-worker-fixture").NextWorkerFixture;
|
||||
}>;
|
||||
export default test;
|
||||
Loading…
Add table
Add a link
Reference in a new issue