fix broken tests

This commit is contained in:
Dimitri Benin
2018-12-23 14:31:58 +01:00
parent d2d7c2cb27
commit a2275481b7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -253,7 +253,7 @@ got('todomvc', {
}).then(res => res.fromCache);
got('todomvc', {
cache: new QuickLRU(),
cache: new QuickLRU({maxSize: 10}),
}).then(res => res.fromCache);
got(new url.URL('http://todomvc.com'));
+1 -1
View File
@@ -252,7 +252,7 @@ got('todomvc', {
}).then(res => res.fromCache);
got('todomvc', {
cache: new QuickLRU(),
cache: new QuickLRU({maxSize: 10}),
}).then(res => res.fromCache);
got(new url.URL('http://todomvc.com'));