We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d008b45 commit 9c2143aCopy full SHA for 9c2143a
src/__snapshots__/lru-cache.spec.js.snap
@@ -1,7 +1,7 @@
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
3
exports[`Lru .constructor() constructs the cache properly 1`] = `
4
-LRU {
+LruCache {
5
"cache": LRUCache {
6
Symbol(max): 10,
7
Symbol(lengthCalculator): [Function],
src/lru-cache.js
@@ -1,6 +1,6 @@
const lru = require('lru-cache');
-module.exports = class LRU {
+module.exports = class LruCache {
constructor({ maxItems }) {
this.cache = lru(maxItems);
}
0 commit comments