playwright/tests/components/ct-solid/playwright/index.js
2022-08-23 14:08:53 -07:00

11 lines
288 B
JavaScript

import '../src/assets/index.css';
import { beforeMount, afterMount } from '@playwright/experimental-ct-solid/hooks';
beforeMount(async ({ hooksConfig }) => {
console.log(`Before mount: ${JSON.stringify(hooksConfig)}`);
});
afterMount(async ({}) => {
console.log(`After mount`);
});