Skip to content

Commit

Permalink
test: fix sort order
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-haynes committed Jun 21, 2024
1 parent d011116 commit d8de27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/accounts/test/account.access_key.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ test('view account details after adding access keys', async() => {
publicKey: keyPair2.getPublicKey().toString(),
}];

details.authorizedApps.sort((a, b) => a.contractId > b.contractId);
details.authorizedApps.sort((a, b) => a.contractId < b.contractId);
expect(JSON.stringify(details.authorizedApps)).toEqual(JSON.stringify(authorizedApps));
});

Expand Down

0 comments on commit d8de27f

Please sign in to comment.