UNPKG

@narottamdev/component-test-utils

Version:

Universal testing utilities for component libraries across different frameworks

13 lines 535 B
import { ComponentAdapter, ComponentTestResult, EventOptions } from '../types'; export declare class VanillaAdapter implements ComponentAdapter { private container; constructor(); private ensureContainer; render(component: any, props?: any): ComponentTestResult; cleanup(): void; fireEvent(element: any, eventType: string, options?: EventOptions): void; waitFor(callback: () => void | Promise<void>, options?: { timeout?: number; }): Promise<void>; } //# sourceMappingURL=VanillaAdapter.d.ts.map