Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed Sep 19, 2024
1 parent 8f6e5bf commit a1eb963
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/lib/safe-message.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Nonce:
chainId: "1",
version: null,
};
expect(
decodedSafeMessage(plainMessage, versionlessSafeInfo)
).rejects.toThrow("Cannot create SafeMessage without version information");
expect(() => decodedSafeMessage(plainMessage, versionlessSafeInfo)).toThrow(
"Cannot create SafeMessage without version information"
);
});
});

0 comments on commit a1eb963

Please sign in to comment.