Skip to content

Commit

Permalink
messageService.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
intls committed Jan 26, 2025
1 parent 50cd650 commit 3224412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/hubble/src/rpc/test/messageService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ describe("validateMessage", () => {
});

test("fails without signer", async () => {
const castResult = await client.submitMessage(castAdd);
const castResult = await client.validateMessage(castAdd);
const castErr = castResult._unsafeUnwrapErr();
expect(castErr.errCode).toEqual("bad_request.unknown_fid");
expect(castErr.message).toMatch("unknown fid");

const frameResult = await client.submitMessage(frameAction);
const frameResult = await client.validateMessage(frameAction);
const frameErr = frameResult._unsafeUnwrapErr();
expect(frameErr.errCode).toEqual("bad_request.unknown_fid");
expect(frameErr.message).toMatch("unknown fid");
Expand Down

0 comments on commit 3224412

Please sign in to comment.