Skip to content

Commit

Permalink
fix test typings
Browse files Browse the repository at this point in the history
  • Loading branch information
blackforestboi committed Jul 16, 2024
1 parent be96cda commit 30f58ab
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/dashboard-refactor/search-results/logic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,10 @@ describe('Dashboard search results logic', () => {
expect(
searchResults.state.searchResults.results[day].pages
.byId[pageId].notesType,
).toEqual(utils.getInitialPageResultState('', '').notesType)
).toEqual(
utils.getInitialPageResultState('', '', null, true)
.notesType,
)
await searchResults.processEvent('setPageNotesType', {
day,
pageResultId: pageId,
Expand Down Expand Up @@ -1321,7 +1324,8 @@ describe('Dashboard search results logic', () => {
searchResults.state.searchResults.results[day].pages
.byId[pageId].notesType,
).toEqual(
utils.getInitialPageResultState('', '').notesType,
utils.getInitialPageResultState('', '', null, true)
.notesType,
)
await searchResults.processEvent('setPageNotesType', {
day,
Expand Down

0 comments on commit 30f58ab

Please sign in to comment.