Skip to content

Commit

Permalink
test(common): fix assertion of signature equality
Browse files Browse the repository at this point in the history
Fixes hyperledger-cacti#1833

Depends on hyperledger-cacti#1686 (The jestification PR)

Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz committed Feb 5, 2022
1 parent 8968be4 commit 5cf2d75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ test("Test optional sign function", async () => {
const outer2 = { outerProperty: "test", innerProperty: inner2 };
const sign2 = jsObjectSigner.sign(outer2);

expect(sign1.toString).toEqual(sign2.toString);
expect(sign1.toString()).toEqual(sign2.toString());
});

test("Test optional verify sign function", async () => {
Expand Down

0 comments on commit 5cf2d75

Please sign in to comment.