From 02acdfba6349c9de238e3584f153dfefa0bfb8f8 Mon Sep 17 00:00:00 2001 From: FreePhoenix888 Date: Thu, 17 Aug 2023 17:43:36 +0600 Subject: [PATCH] Fix length checking --- tests/experimental/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/experimental/client.ts b/tests/experimental/client.ts index 33b90833..9778aeb4 100644 --- a/tests/experimental/client.ts +++ b/tests/experimental/client.ts @@ -107,7 +107,7 @@ describe('SerialTransitionsBuilder', () => { .append({ transition }) .execute(); - assert.equal(Object.keys(result.data).length, 1) + assert.equal(Object.keys(result.data).length, 2) }); it('should execute transitions', async () => { @@ -119,7 +119,7 @@ describe('SerialTransitionsBuilder', () => { .append({ transition }) .append({ transition }) .execute(); - assert.equal(Object.keys(result.data).length, 2) + assert.equal(Object.keys(result.data).length, 4) }); it('should execute transition and result link be accessible by both alias and index', async () => {