mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-01-12 22:53:27 +08:00
8 lines
266 B
TypeScript
8 lines
266 B
TypeScript
import { Page } from '@playwright/test';
|
|
import { json } from '@tests/utils';
|
|
|
|
export const setupMockApis = async (page: Page) => {
|
|
await page.route(/chrome-extension/, route => route.continue());
|
|
await page.route(/github/, route => route.fulfill(json({})));
|
|
};
|