Skip to content

Commit

Permalink
type
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Jul 26, 2022
1 parent 28a1ea8 commit 02fbbdd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ test('LRU operations', () => {
expect(cache.has('3')).toBeFalsy();
// @ts-expect-error
expect(() => cache.set(0)).toThrow(TypeError);
// @ts-expect-error
expect(() => cache.get(0)).toThrow(TypeError);
expect(cache.size).toBe(3);
cache.clear();
Expand Down

0 comments on commit 02fbbdd

Please sign in to comment.