Skip to content

Commit

Permalink
Update dashboardLogic test
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Apr 26, 2024
1 parent da7fe98 commit 8415dec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { MOCK_TEAM_ID } from 'lib/api.mock'
import { now } from 'lib/dayjs'
import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
import { dashboardLogic } from 'scenes/dashboard/dashboardLogic'
// FIXME: Importing a .test.ts file causes all tests within it to be ran again as part of THIS file
import { boxToString, dashboardResult, insightOnDashboard, tileFromInsight } from 'scenes/dashboard/dashboardLogic.test'

import { useMocks } from '~/mocks/jest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/scenes/dashboard/dashboardLogic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ describe('dashboardLogic', () => {

it('allows consumers to respond', async () => {
await expectLogic(logic).toFinishAllListeners().toMatchValues({
receivedErrorsFromAPI: true,
dashboardFailedToLoad: true,
})
})
})
Expand Down

0 comments on commit 8415dec

Please sign in to comment.