@augment-vir/test
Version:
A universal testing suite that works with Mocha style test runners _and_ Node.js's built-in test runner.
4 lines (3 loc) • 372 B
TypeScript
import { type DeclarativeElementDefinition } from 'element-vir';
import { type EmptyObject } from 'type-fest';
export declare function renderElement<const Definition extends Readonly<DeclarativeElementDefinition>>(elementDefinition: Definition, ...args: Definition['InputsType'] extends EmptyObject ? [] : [Definition['InputsType']]): Promise<Definition["InstanceType"]>;