Skip to content

Commit d278da2

Browse files
committed
test: fix LRU upgrade
1 parent bbfeb03 commit d278da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/ssr/ssr-bundle-render.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function createAssertions (runInNewContext) {
195195
})
196196

197197
it('render with cache (nested)', done => {
198-
const cache = LRU({ maxAge: Infinity })
198+
const cache = new LRU({ maxAge: Infinity })
199199
spyOn(cache, 'get').and.callThrough()
200200
spyOn(cache, 'set').and.callThrough()
201201
const options = {

0 commit comments

Comments
 (0)