refactor: remove typing when it's not needed
This commit is contained in:
parent
893056627e
commit
14b4002bc3
|
|
@ -1,5 +1,4 @@
|
||||||
import { test, expect } from '@playwright/experimental-ct-svelte';
|
import { test, expect } from '@playwright/experimental-ct-svelte';
|
||||||
import type { HooksConfig } from '../playwright';
|
|
||||||
import Button from '@/components/Button.svelte';
|
import Button from '@/components/Button.svelte';
|
||||||
import Empty from '@/components/Empty.svelte';
|
import Empty from '@/components/Empty.svelte';
|
||||||
import Context from '@/components/Context.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 }) => {
|
test('render context', async ({ mount }) => {
|
||||||
const component = await mount<HooksConfig>(Context, {
|
const component = await mount(Context, {
|
||||||
hooksConfig: {
|
hooksConfig: {
|
||||||
context: 'context-value',
|
context: 'context-value',
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue