Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Jan 8, 2024
1 parent 28e6922 commit fb68b3c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/transport-http/src/send-execute-script.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ describe("Send Execute Script", () => {
path: "/v1/scripts?block_height=sealed",
method: "POST",
body: {
script: "cHViIGZ1biBtYWluKGE6IEludCk6IEludCB7IHJldHVybiBhIH0=",
script:
"YWNjZXNzKGFsbCkgZnVuIG1haW4oYTogSW50KTogSW50IHsgcmV0dXJuIGEgfQ==",
arguments: ["eyJ0eXBlIjoiSW50IiwidmFsdWUiOiIxMjMifQ=="],
},
})
Expand Down Expand Up @@ -96,7 +97,7 @@ describe("Send Execute Script", () => {
path: "/v1/scripts?block_id=123",
method: "POST",
body: {
script: "cHViIGZ1biBtYWluKCk6IEludCB7IHJldHVybiAxMjMgfQ==",
script: "YWNjZXNzKGFsbCkgZnVuIG1haW4oKTogSW50IHsgcmV0dXJuIDEyMyB9",
arguments: [],
},
})
Expand Down Expand Up @@ -141,7 +142,7 @@ describe("Send Execute Script", () => {
path: "/v1/scripts?block_height=123",
method: "POST",
body: {
script: "cHViIGZ1biBtYWluKCk6IEludCB7IHJldHVybiAxMjMgfQ==",
script: "YWNjZXNzKGFsbCkgZnVuIG1haW4oKTogSW50IHsgcmV0dXJuIDEyMyB9",
arguments: [],
},
})
Expand Down

0 comments on commit fb68b3c

Please sign in to comment.