UNPKG

umbraco-cypress-testhelpers

Version:

Test helpers for making Cypress tests for Umbraco solutions

14 lines (13 loc) 670 B
export declare class MinimalTemplate { /** * Generates a HTML string for a basic HTML Razor view template * * @param {string} model Name of model to use in HTML Razor View template. Default value is empty string * @param {{name:string;alias:string}[]} properties Optional array of objects containing `name` and `alias` which will use to print out the Document type property values in the view * @returns string A basic HTML Razor view with the correct model for the doctype and prints out values for each property */ get(model?: string, properties?: { name: string; alias: string; }[]): string; }