Skip to content

Commit

Permalink
Merge pull request #182 from input-output-hk/nhenin/fix-main
Browse files Browse the repository at this point in the history
fixed test build
  • Loading branch information
hrajchert authored Feb 6, 2024
2 parents c9c15bb + 6624e1b commit 19ca9ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build": "tsc --version && tsc --build && shx mkdir -p dist && rollup --config rollup/config.mjs",
"clean": "npm run clean --workspaces && shx rm -rf dist",
"test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --config ./jest.unit.config.js --verbose",
"test": "tsc --build tsconfig.test.json && NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --config ./jest.unit.config.js --verbose",
"test:e2e": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --runInBand --config ./jest.e2e.config.js --verbose",
"docs": "typedoc . --treatWarningsAsErrors --options ./typedoc.json",
"serve": "ws --port 1337 --rewrite '/importmap -> https://cdn.jsdelivr.net/gh/input-output-hk/marlowe-ts-sdk@0.3.0-beta/jsdelivr-npm-importmap.js'",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe("contracts endpoints", () => {

await Promise.all(
firstPage.contracts.map((contract) =>
restClient.getContractById(contract.contractId)
restClient.getContractById({ contractId: contract.contractId })
)
);
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe("Runtime Contract Lifecycle ", () => {
await bank.waitConfirmation(txIdContractCreated);
logInfo(
`contractID status : ${contractId} -> ${
(await runtime.restClient.getContractById(contractId)).status
(await runtime.restClient.getContractById({ contractId })).status
}`
);
await bank.waitRuntimeSyncingTillCurrentWalletTip(runtime.restClient);
Expand Down

0 comments on commit 19ca9ca

Please sign in to comment.