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 5242cde commit 84f61cf
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(result.data.length, 1)
assert.equal(Object.keys(result).length, 1)
});

it('should execute transitions', async () => {
Expand All @@ -119,7 +119,7 @@ describe('SerialTransitionsBuilder', () => {
.append({ transition })
.append({ transition })
.execute();
assert.equal(result.data.length, 2)
assert.equal(Object.keys(result).length, 2)
});

it('should execute transition and result link be accessible by both alias and index', async () => {
Expand Down

0 comments on commit 84f61cf

Please sign in to comment.