From bd19a7d3177ce87160326089b3880466ca70b348 Mon Sep 17 00:00:00 2001 From: Jason Lin Date: Thu, 2 Nov 2023 16:29:47 -0400 Subject: [PATCH] Reset url on rate table tests. --- .../RateReviewsDashboard/RateReviewsTable.test.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/app-web/src/pages/CMSDashboard/RateReviewsDashboard/RateReviewsTable.test.tsx b/services/app-web/src/pages/CMSDashboard/RateReviewsDashboard/RateReviewsTable.test.tsx index 0991aaf234..0fb4bb73d8 100644 --- a/services/app-web/src/pages/CMSDashboard/RateReviewsDashboard/RateReviewsTable.test.tsx +++ b/services/app-web/src/pages/CMSDashboard/RateReviewsDashboard/RateReviewsTable.test.tsx @@ -11,6 +11,10 @@ import selectEvent from 'react-select-event' import userEvent from '@testing-library/user-event' describe('RateReviewsTable', () => { + afterEach(() => { + window.history.pushState({}, '', 'dashboard/rate-reviews') + }) + const statePrograms = mockMNState().programs const tableData = (): RateInDashboardType[] => [ {