@nuxt/test-utils
Version:
Test utilities for Nuxt
7 lines • 338 B
text/typescript
//#region src/experimental.d.ts
/**
* This is a function to render a component directly with the Nuxt server.
*/
export declare function $fetchComponent(filepath: string, props?: Record<string, unknown>): Promise<unknown>;
export declare function componentTestUrl(filepath: string, props?: Record<string, unknown>): string;
//#endregion