Skip to content

Commit

Permalink
Mise à jour
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Oct 2, 2023
1 parent 8f26eb4 commit 87206b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ if (isNode || isElectronMain) {
fSuivreCondition: (état: boolean) => void
): Promise<schémaFonctionOublier> => {
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",
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 87206b2

Please sign in to comment.