Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Jul 25, 2024
1 parent 72add74 commit b320661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/LRUCache.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe( 'LRUCache', () => {
it( 'should sort before unloading', () => {

const cache = new LRUCache();
cache.unloadPriorityCallback = item => item.priority;
cache.unloadPriorityCallback = ( itemA, itemB ) => itemA.priority - itemB.priority;
cache.minSize = 0;
cache.maxSize = 10;
cache.unloadPercent = 1;
Expand Down

0 comments on commit b320661

Please sign in to comment.