From c1167faba094bba2c1f460ff1bf8344b10911ad8 Mon Sep 17 00:00:00 2001 From: Matias Chomicki Date: Tue, 30 Sep 2025 17:20:26 +0200 Subject: [PATCH] Update tests --- .../features/logs/components/panel/LogListControls.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/logs/components/panel/LogListControls.test.tsx b/public/app/features/logs/components/panel/LogListControls.test.tsx index bfd71304f2f..951055f34c0 100644 --- a/public/app/features/logs/components/panel/LogListControls.test.tsx +++ b/public/app/features/logs/components/panel/LogListControls.test.tsx @@ -446,7 +446,7 @@ describe('LogListControls', () => { await userEvent.click(screen.getByLabelText(DOWNLOAD_LOGS_LABEL_COPY)); await userEvent.click(await screen.findByText(label)); expect(downloadLogs).toHaveBeenCalledTimes(1); - expect(downloadLogs).toHaveBeenCalledWith(format, [], undefined); + expect(downloadLogs).toHaveBeenCalledWith(format, [], undefined, []); }); test('Allows to download logs filtered logs', async () => { @@ -463,7 +463,7 @@ describe('LogListControls', () => { ); await userEvent.click(screen.getByLabelText(DOWNLOAD_LOGS_LABEL_COPY)); await userEvent.click(await screen.findByText('txt')); - expect(downloadLogs).toHaveBeenCalledWith('text', filteredLogs, undefined); + expect(downloadLogs).toHaveBeenCalledWith('text', filteredLogs, undefined, []); }); test('Controls new lines', async () => {