aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/components/DeleteNoteTypeModal.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/components/DeleteNoteTypeModal.test.tsx')
-rw-r--r--src/client/components/DeleteNoteTypeModal.test.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/components/DeleteNoteTypeModal.test.tsx b/src/client/components/DeleteNoteTypeModal.test.tsx
index d5d536a..b7159ab 100644
--- a/src/client/components/DeleteNoteTypeModal.test.tsx
+++ b/src/client/components/DeleteNoteTypeModal.test.tsx
@@ -203,7 +203,9 @@ describe("DeleteNoteTypeModal", () => {
mockFetch.mockResolvedValue({
ok: false,
status: 409,
- json: async () => ({ error: "Cannot delete note type with existing notes" }),
+ json: async () => ({
+ error: "Cannot delete note type with existing notes",
+ }),
});
render(<DeleteNoteTypeModal {...defaultProps} />);