refactor: remove typing when it's not needed

This commit is contained in:
Marcin Wiśniowski 2025-02-17 10:54:09 +01:00
parent 893056627e
commit 14b4002bc3

View file

@ -1,5 +1,4 @@
import { test, expect } from '@playwright/experimental-ct-svelte';
import type { HooksConfig } from '../playwright';
import Button from '@/components/Button.svelte';
import Empty from '@/components/Empty.svelte';
import Context from '@/components/Context.svelte';
@ -21,7 +20,7 @@ test('get textContent of the empty component', async ({ mount }) => {
});
test('render context', async ({ mount }) => {
const component = await mount<HooksConfig>(Context, {
const component = await mount(Context, {
hooksConfig: {
context: 'context-value',
}