From a2275481b7291645c2465cfedaee6bf9332d330a Mon Sep 17 00:00:00 2001 From: Dimitri Benin Date: Sun, 23 Dec 2018 14:31:58 +0100 Subject: [PATCH] fix broken tests --- types/got/got-tests.ts | 2 +- types/got/v8/got-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/got/got-tests.ts b/types/got/got-tests.ts index 7c089cc91b..1626cae86a 100644 --- a/types/got/got-tests.ts +++ b/types/got/got-tests.ts @@ -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')); diff --git a/types/got/v8/got-tests.ts b/types/got/v8/got-tests.ts index 610ac87c26..5e115e96ac 100644 --- a/types/got/v8/got-tests.ts +++ b/types/got/v8/got-tests.ts @@ -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'));