Evan You 7 лет назад
Родитель
Сommit
d278da20a0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      test/ssr/ssr-bundle-render.spec.js

+ 1 - 1
test/ssr/ssr-bundle-render.spec.js

@@ -195,7 +195,7 @@ function createAssertions (runInNewContext) {
   })
 
   it('render with cache (nested)', done => {
-    const cache = LRU({ maxAge: Infinity })
+    const cache = new LRU({ maxAge: Infinity })
     spyOn(cache, 'get').and.callThrough()
     spyOn(cache, 'set').and.callThrough()
     const options = {