Skip to content

Commit

Permalink
fix: web client integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomyrd committed Dec 3, 2024
1 parent e3a1a36 commit a1cdab0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/web-client/test/new_account.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ describe("new_faucet tests", () => {
BigInt(10000000)
)
).to.be.rejectedWith(
`TokenSymbolError("Token symbol must be between 1 and 6 characters long.")`
`token symbol of length 13 is not between 1 and 6 characters long`
);
});
});
2 changes: 1 addition & 1 deletion crates/web-client/test/transactions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe("compile_tx_script tests", () => {
const script = "fakeScript";

await expect(compileTxScript(script)).to.be.rejectedWith(
`Failed to compile transaction script: Transaction script error: AssemblyError("invalid syntax")`
/Failed to compile transaction script: Transaction script error:(.|\n)*/
);
});
});

0 comments on commit a1cdab0

Please sign in to comment.