Skip to content

Commit

Permalink
Fix length checking
Browse files Browse the repository at this point in the history
  • Loading branch information
FreePhoenix888 committed Aug 17, 2023
1 parent 85007cd commit 02acdfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/experimental/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand All @@ -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 () => {
Expand Down

0 comments on commit 02acdfb

Please sign in to comment.