Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
fix(test-suite): key origins sorted by base58 xpub
Browse files Browse the repository at this point in the history
  • Loading branch information
bucko13 committed Jan 10, 2024
1 parent 64b9613 commit 444e083
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tests/registration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ class RegisterWalletPolicyTest extends Test {
}

description() {
const keyOrigins = this.params.braidDetails.extendedPublicKeys.sort(
(a, b) => a.base58String.localeCompare(b.base58String)
);
return (
<Box>
<p>
Expand Down Expand Up @@ -47,7 +50,7 @@ class RegisterWalletPolicyTest extends Test {
Registering Quorum
</TableCell>
</TableRow>
{this.params.braidDetails.extendedPublicKeys.map((key, index) => (
{keyOrigins.map((key, index) => (
<React.Fragment key={key.rootFingerprint}>
<TableRow>
<TableCell colSpan={6} style={{ textAlign: "center" }}>
Expand Down

0 comments on commit 444e083

Please sign in to comment.