umbraco-cypress-testhelpers
Version:
Test helpers for making Cypress tests for Umbraco solutions
17 lines (16 loc) • 588 B
TypeScript
import { Template } from '../../models/template';
export declare class TemplateBuilder {
private template;
constructor(template?: Template);
withId(id: any): this;
withKey(key: any): this;
withName(name: any): this;
withAlias(alias: any): this;
withContent(content: any): this;
withPath(path: any): this;
withVirtualPath(virtualPath: any): this;
withMasterTemplateAlias(masterTemplateAlias: any): this;
withIsMasterTemplate(isMasterTemplate: any): this;
withNotifications(notifications: any): this;
build(): Template;
}