cypress-bootstrap
Version:
Cypress Bootstrap is a project scaffolding tool that sets up a Cypress automation framework with a standardized folder structure and Page Object Model (POM) design. It helps teams quickly start testing with built-in best practices and sample specs.
16 lines (14 loc) • 358 B
text/typescript
export namespace CustomerRequests {
export interface CreateCustomerRequest {
name: string;
email: string | null;
}
export class Request {
public createCustomerRequest(customerObject: CreateCustomerRequest): CreateCustomerRequest {
return {
name: customerObject.name,
email: customerObject.email,
};
}
}
}