mirror of
https://github.com/tompro/sattle.git
synced 2026-08-26 23:05:58 +00:00
13 lines
338 B
TypeScript
13 lines
338 B
TypeScript
import { test as base, expect } from '@playwright/test';
|
|
import { MintMocker } from './helpers/MintMocker';
|
|
|
|
export const test = base.extend<{ mint: MintMocker }>({
|
|
mint: async ({ page }, use) => {
|
|
const mint = new MintMocker(page);
|
|
await use(mint);
|
|
await page.unrouteAll({ behavior: 'wait' });
|
|
},
|
|
});
|
|
|
|
export { expect };
|