Skip to content

Commit

Permalink
refactor(tests/helios-vesting-cancel): comments and improve error output
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
  • Loading branch information
aleeusgr committed May 22, 2023
1 parent aa6de3b commit 21f33f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/helios-vesting-cancel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe("a vesting contract: Cancel transaction", async () => {

const adaQty = 10;
const duration = 1000000;
// --------------------------program--------v
// --------------------maybe-program-?------v
await lockAda(network!, alice!, bob!, validatorHash, adaQty, duration)
expect((await alice.utxos)[0].value.dump().lovelace).toBe('14747752');

Expand Down Expand Up @@ -130,7 +130,7 @@ describe("a vesting contract: Cancel transaction", async () => {
const networkParamsFile = await fs.readFile('./src/preprod.json', 'utf8');
const networkParams = new NetworkParams(JSON.parse(networkParamsFile.toString()));

expect(tx.dump()).toBe();
await tx.finalize(networkParams, ownerAddress);
expect(tx.dump().body.inputs).toBe();
// await tx.finalize(networkParams, ownerAddress);
})
})

0 comments on commit 21f33f0

Please sign in to comment.