@stripe/ui-extension-sdk
Version:
The suite of functionality available to UI extensions in Stripe apps
5 lines (4 loc) • 310 B
TypeScript
import type { RemoteRoot } from '@remote-ui/core';
import { RootNode } from '@remote-ui/testing';
export declare function createTestRoot(): RemoteRoot<any, any>;
export declare function mount<Root extends RemoteRoot<any, any> = RemoteRoot<any, any>>(run: (root: Root) => void, root?: Root): RootNode<unknown>;