Skip to content

Commit

Permalink
test(t/vc): add checks for initial state
Browse files Browse the repository at this point in the history
  • Loading branch information
aleeusgr committed Jun 14, 2023
1 parent 0e17dff commit 548d822
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/vesting-cancel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ describe("a vesting contract: Cancel transaction", async () => {
const compiledScript = program.compile(optimize);
const validatorHash = compiledScript.validatorHash;
const validatorAddress = Address.fromValidatorHash(validatorHash);

expect((await alice.utxos)[0].value.dump().lovelace).toBe('20000000');
expect((await alice.utxos)[1].value.dump().lovelace).toBe('50000000');

const adaQty = 10;
const duration = 1000000;
Expand Down

0 comments on commit 548d822

Please sign in to comment.