From 2db7f35a302ff11bad63c2b6863978408c702d96 Mon Sep 17 00:00:00 2001 From: Richard Dinh Date: Tue, 26 Mar 2024 11:49:40 -0400 Subject: [PATCH] save work --- src/components/ResultsPanel.spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/ResultsPanel.spec.js b/src/components/ResultsPanel.spec.js index a229e34a0..32c6c32ae 100644 --- a/src/components/ResultsPanel.spec.js +++ b/src/components/ResultsPanel.spec.js @@ -34,7 +34,7 @@ describe('ResultsPanel', () => { }); it('renders list panel without crashing', () => { - renderComponent({ tab: MODE_LIST }, {}); + renderComponent({}, { tab: MODE_LIST }); expect(screen.getByRole('button', { name: /Trends/ })).not.toHaveClass( 'active', ); @@ -46,7 +46,7 @@ describe('ResultsPanel', () => { }); it('renders map panel without crashing', () => { - renderComponent({ tab: MODE_MAP }, {}); + renderComponent({}, { tab: MODE_MAP }); expect(screen.getByRole('button', { name: /Trends/ })).not.toHaveClass( 'active', ); @@ -59,8 +59,8 @@ describe('ResultsPanel', () => { it('renders printMode without crashing', () => { renderComponent( - { searchText: 'Tacos', tab: MODE_MAP }, - { isPrintMode: true }, + { searchText: 'Tacos' }, + { isPrintMode: true, tab: MODE_MAP }, ); expect(screen.getByRole('button', { name: /Trends/ })).not.toHaveClass( 'active',