We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad34865 commit 823ec40Copy full SHA for 823ec40
1 file changed
test/basic.ts
@@ -39,7 +39,10 @@ t.test('basic operation', t => {
39
message: 'perf option must have a now() method if specified',
40
})
41
42
- const c = new LRU<number | string | boolean, number | string>({ max: 10, perf: Date })
+ const c = new LRU<number | string | boolean, number | string>({
43
+ max: 10,
44
+ perf: Date,
45
+ })
46
t.equal(c.perf, Date)
47
for (let i = 0; i < 5; i++) {
48
t.equal(c.set(i, i, { status: s() }), c)
0 commit comments