testeranto
Version:
the AI powered BDD test framework for typescript projects
16 lines (15 loc) • 542 B
JavaScript
export const specification = (Suite, Given, When, Then) => {
return [
Suite.Default("ModalContent Component Tests", {
basicRender: Given.Default([
"ModalContent should render",
"It should contain a Modal.Header",
"It should render the ThemeCard components",
], [], [
Then.hasModalHeader(undefined),
Then.hasThemeCards(undefined),
Then.takeScreenshot("modal-content.png"),
]),
}),
];
};