From 87206b2ee8e512dbb66667095b46d8d0073ff4b2 Mon Sep 17 00:00:00 2001 From: julienmalard Date: Mon, 2 Oct 2023 16:22:54 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/client.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/client.spec.ts b/test/client.spec.ts index 306cf8e811..6cf5e6f803 100644 --- a/test/client.spec.ts +++ b/test/client.spec.ts @@ -1335,7 +1335,7 @@ if (isNode || isElectronMain) { fSuivreCondition: (état: boolean) => void ): Promise => { const f = async (bd: TypedKeyValue<{ [clef: string]: number }>) => - fSuivreCondition(Object.keys(await bd.all()).length > 0); + fSuivreCondition(Object.keys(await bd.allAsJSON()).length > 0); return await client.suivreBd({ id, type: "keyvalue", @@ -1646,7 +1646,7 @@ if (isNode || isElectronMain) { await bdDic2.put("clef 3", 3); await client.combinerBdsDict({ bdBase: bdDic1, bd2: bdDic2 }); - const données = await bdDic1.all(); + const données = await bdDic1.allAsJSON(); expect(données).to.deep.equal({ "clef 1": 1,