Skip to content

Commit 9c2143a

Browse files
committed
feature/cache: Rename LruCache
1 parent d008b45 commit 9c2143a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/__snapshots__/lru-cache.spec.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`Lru .constructor() constructs the cache properly 1`] = `
4-
LRU {
4+
LruCache {
55
"cache": LRUCache {
66
Symbol(max): 10,
77
Symbol(lengthCalculator): [Function],

src/lru-cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const lru = require('lru-cache');
22

3-
module.exports = class LRU {
3+
module.exports = class LruCache {
44
constructor({ maxItems }) {
55
this.cache = lru(maxItems);
66
}

0 commit comments

Comments
 (0)