Skip to content

Commit

Permalink
Update tests for new result count fields
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Nov 27, 2023
1 parent e99227e commit a40329f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/reselect.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ describe('argsMemoize and memoize', () => {
const memoizerFields: Exclude<
keyof OutputSelector,
keyof OutputSelectorFields
>[] = ['clearCache']
>[] = ['clearCache', 'resultsCount', 'resetResultsCount']
const allFields: (keyof OutputSelector)[] = [
...outPutSelectorFields,
...memoizerFields
Expand Down Expand Up @@ -1004,7 +1004,7 @@ describe('argsMemoize and memoize', () => {
// Checking existence of fields related to `memoize`
expect(selectorMicroMemoizeOverrideMemoizeOnly.memoizedResultFunc)
.to.be.a('function')
.that.has.all.keys(['clearCache'])
.that.has.all.keys(['clearCache', 'resultsCount', 'resetResultsCount'])
expect(
selectorMicroMemoizeOverrideMemoizeOnly.memoizedResultFunc.clearCache
).to.be.a('function')
Expand Down

0 comments on commit a40329f

Please sign in to comment.