Skip to content

Commit 80c079e

Browse files
author
Leshe4ka
committed
fix tests again
1 parent 787302b commit 80c079e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend/src/lib/hooks/api/__tests__/topicMessages.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jest.mock('lib/errorHandling', () => ({
2525
describe('Topic Messages hooks', () => {
2626
beforeEach(() => fetchMock.restore());
2727
it('handles useSerdes', async () => {
28-
// Исправлен путь: topic вместо topics
29-
const path = `/api/clusters/${clusterName}/topic/${topicName}/serdes?use=SERIALIZE`;
28+
const path = `/api/clusters/${clusterName}/topics/${topicName}/serdes?use=SERIALIZE`;
3029

3130
const mock = fetchMock.getOnce(path, {});
3231
const { result } = renderQueryHook(() =>

0 commit comments

Comments
 (0)