Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(ct): svelte type-safe hook config (#17237)
sand4rtf61d3c9cc441
diff --git a/packages/playwright-ct-svelte/index.d.ts b/packages/playwright-ct-svelte/index.d.tsindex f98097a39c..16f0f9f05a 100644--- a/packages/playwright-ct-svelte/index.d.ts+++ b/packages/playwright-ct-svelte/index.d.ts@@ -35,13 +35,18 @@ export type PlaywrightTestConfig = Omit<BasePlaywrightTestConfig, 'use'> & {}};+type JsonPrimitive = string | number | boolean | null;+type JsonValue = JsonPrimitive | JsonObject | JsonArray;+type JsonArray = JsonValue[];+type JsonObject = { [Key in string]?: JsonValue };+type Slot = string | string[];export interface MountOptions<Component extends SvelteComponent> {props?: ComponentProps<Component>;slots?: Record<string, Slot> & { default?: Slot };on?: Record<string, Function>;- hooksConfig?: any;+ hooksConfig?: JsonObject;}interface MountResult extends Locator {