umbraco-cypress-testhelpers
Version:
Test helpers for making Cypress tests for Umbraco solutions
16 lines (15 loc) • 364 B
text/typescript
/**
* Creates a property object used in document types etc
*
* @param {string} name Name of the property
* @param {string} alias Optional alias of the property
*/
export class BaseProperty {
public id: string;
public alias: string;
public name: string;
constructor(name: string, alias?: string) {
this.alias = alias;
this.name = name;
}
}