rename tests
This commit is contained in:
parent
9f6343a9f6
commit
5e2a68a3d0
@ -21,7 +21,7 @@ const intents = ["warn", "action", "error", "success"] as [
|
||||
];
|
||||
|
||||
intents.map((intent) =>
|
||||
test("Applies class based on intent", () => {
|
||||
test(`Applies class for ${intent}`, () => {
|
||||
render(<Callout intent={intent} />);
|
||||
expect(screen.getByTestId("callout")).toHaveClass(`callout--${intent}`);
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user