mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 22:02:55 +00:00
chore: Run pnpm format:fix.
This commit is contained in:
@@ -47,13 +47,13 @@ describe("validatePrivateKey", () => {
|
||||
|
||||
it("rejects 63-char hex (too short)", () => {
|
||||
expect(() => validatePrivateKey(TEST_HEX_KEY.slice(0, 63))).toThrow(
|
||||
"Private key must be 64 hex characters"
|
||||
"Private key must be 64 hex characters",
|
||||
);
|
||||
});
|
||||
|
||||
it("rejects 65-char hex (too long)", () => {
|
||||
expect(() => validatePrivateKey(TEST_HEX_KEY + "0")).toThrow(
|
||||
"Private key must be 64 hex characters"
|
||||
"Private key must be 64 hex characters",
|
||||
);
|
||||
});
|
||||
|
||||
@@ -72,7 +72,7 @@ describe("validatePrivateKey", () => {
|
||||
|
||||
it("rejects key with 0x prefix", () => {
|
||||
expect(() => validatePrivateKey("0x" + TEST_HEX_KEY)).toThrow(
|
||||
"Private key must be 64 hex characters"
|
||||
"Private key must be 64 hex characters",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user