Skip to content

Commit f9bd64a

Browse files
fix misspelling
1 parent 2ee3621 commit f9bd64a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/ui-components/src/components/Modal/Modal.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ describe("Modal", () => {
369369
expect(mockOnConfirm).not.toHaveBeenCalled()
370370
})
371371

372-
test("renders a disabled cancel action button and ensures onCancel is not triggered", async () => {
372+
test("renders a disabled cancel action button, ensures onCancel isn't triggered and that the close button is disabled", async () => {
373373
await waitFor(() =>
374374
render(
375375
<PortalProvider>
@@ -388,7 +388,7 @@ describe("Modal", () => {
388388
expect(mockOnCancel).not.toHaveBeenCalled()
389389
})
390390

391-
test("renders a modal with no disabled close button if disableCloseButton is true", async () => {
391+
test("renders a modal with a disabled close button if disableCloseButton is true", async () => {
392392
await waitFor(() =>
393393
render(
394394
<PortalProvider>

0 commit comments

Comments
 (0)