playwright/tests/components/ct-solid/playwright/index.js

11 lines
288 B
JavaScript
Raw Normal View History

2022-08-23 23:08:53 +02:00
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`);
});