Skip to content

Commit

Permalink
Fix selector comments in test
Browse files Browse the repository at this point in the history
  • Loading branch information
eXamadeus committed Nov 2, 2021
1 parent 17c273b commit 0344d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_selector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -736,11 +736,11 @@ describe('defaultMemoize', () => {
selector.memoizedResultFunc.clearCache()

// Added
selector('a') // ['c', 'b', 'a']
selector('a') // ['a']
expect(funcCalls).toBe(4)

// Already in cache
selector('a') // ['c', 'b', 'a']
selector('a') // ['a']
expect(funcCalls).toBe(4)

// make sure clearCache is passed to the selector correctly
Expand Down

0 comments on commit 0344d03

Please sign in to comment.