summaryrefslogtreecommitdiff
path: root/ui/tests/lib/components/CreateChannelForm.svelte.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/tests/lib/components/CreateChannelForm.svelte.test.js')
-rw-r--r--ui/tests/lib/components/CreateChannelForm.svelte.test.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/tests/lib/components/CreateChannelForm.svelte.test.js b/ui/tests/lib/components/CreateChannelForm.svelte.test.js
index c1adba5..a4a4695 100644
--- a/ui/tests/lib/components/CreateChannelForm.svelte.test.js
+++ b/ui/tests/lib/components/CreateChannelForm.svelte.test.js
@@ -6,7 +6,7 @@ import axios from 'axios';
let component;
let mocks = vi.hoisted(() => ({
- post: vi.fn(),
+ post: vi.fn()
}));
describe('CreateChannelForm', () => {
@@ -19,9 +19,9 @@ describe('CreateChannelForm', () => {
...actual.default,
create: vi.fn(() => ({
...actual.default.create(),
- post: mocks.post,
- })),
- },
+ post: mocks.post
+ }))
+ }
};
return mockAxios;
@@ -29,7 +29,7 @@ describe('CreateChannelForm', () => {
mocks.post.mockResolvedValue({ status: 200 });
component = mount(CreateChannelForm, {
- target: document.body, // `document` exists because of jsdom
+ target: document.body // `document` exists because of jsdom
});
flushSync();
});