riot-test-utils
Version:
lightweight testing utility of Riot
7 lines (6 loc) • 318 B
TypeScript
import { TagInstance, TagOpts } from 'riot';
import MountOptions from './MountOptions';
export declare type RiotElement = HTMLElement | SVGElement;
export default interface Renderer {
createInstance(name: string, opts?: TagOpts, children?: ReadonlyArray<RiotElement>, options?: MountOptions): TagInstance;
}