Skip to content

Commit

Permalink
test: improve failing_noop tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hui-an-yang committed Sep 20, 2024
1 parent 88ebbcb commit 8184d2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CONFIGS().forEach(({ setup, rpc, lib }) => {
let signerAlice = new InMemorySigner('edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq')

describe(`Test failing_noop through wallet api using: ${rpc}`, () => {
let Tezos = lib
const Tezos = lib
beforeAll(async () => {
setup(true)
if (rpc.includes('paris')) {
Expand All @@ -22,7 +22,9 @@ CONFIGS().forEach(({ setup, rpc, lib }) => {
arbitrary: "48656C6C6F20576F726C64", // Hello World
basedOnBlock: 0,
});
console.log(signed)
const pk = await Tezos.signer.publicKey();
console.log(pk)
expect(verifySignature(signed.bytes, pk!, signed.signature, new Uint8Array([3]))).toBe(true);
});

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/__tests__/wallet/failing-noop.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CONFIGS().forEach(({ setup, rpc, lib }) => {
let signerAlice = new InMemorySigner('edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq')

describe(`Test failing_noop through wallet api using: ${rpc}`, () => {
let Tezos = lib
const Tezos = lib
beforeAll(async () => {
setup(true)
if (rpc.includes('paris')) {
Expand Down

0 comments on commit 8184d2e

Please sign in to comment.