2022-07-12 18:37:33 +02:00
|
|
|
//@ts-check
|
|
|
|
|
|
2022-04-22 06:07:43 +02:00
|
|
|
import '../src/index.css';
|
2022-07-12 18:37:33 +02:00
|
|
|
|
|
|
|
|
import { beforeMount, afterMount } from '@playwright/experimental-ct-react/hooks';
|
|
|
|
|
|
|
|
|
|
beforeMount(async ({ hooksConfig }) => {
|
|
|
|
|
console.log(`Before mount: ${JSON.stringify(hooksConfig)}`);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
afterMount(async ({}) => {
|
|
|
|
|
console.log(`After mount`);
|
|
|
|
|
});
|