Skip to content

Commit

Permalink
test(helios-vesting-lock.test): expected values changed
Browse files Browse the repository at this point in the history
mooving to helios 0.14
  • Loading branch information
aleeusgr committed May 27, 2023
1 parent 3d5cb3c commit 805ef82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/helios-vesting-lock.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,19 +149,19 @@ describe("a vesting contract lockAda transaction", async () => {
network.tick(BigInt(10));

//alice utxos changed
expect((await alice.utxos)[0].value.dump().lovelace).toBe('14747752');
expect((await alice.utxos)[0].value.dump().lovelace).toBe('14749259');

// validator address holds Vesting Key
expect(Object.keys((await network.getUtxos(validatorAddress))[0].value.dump().assets)[0]).toEqual(mintProgram.mintingPolicyHash.hex);

})

it.skip ("tests lockAda tx import", async ({network, alice, bob, validatorAddress}) => {
it ("tests lockAda tx import", async ({network, alice, bob, validatorAddress}) => {
const adaQty = 10 ;
const duration = 10000000;
await lockAda(network!, alice!, bob!, validatorAddress, adaQty, duration)

expect((await alice.utxos)[0].value.dump().lovelace).toBe('14747752');
expect(Object.keys((await network.getUtxos(validatorAddress))[0].value.dump().assets)[0]).toBe('49b106e698de78171de2faf35932635e1085c12508ca87718a2d4487');
expect((await alice.utxos)[0].value.dump().lovelace).toBe('14749259');
expect(Object.keys((await network.getUtxos(validatorAddress))[0].value.dump().assets)[0]).toBe('702cd6229f16532ca9735f65037092d099b0ff78a741c82db0847bbf');
})
})

0 comments on commit 805ef82

Please sign in to comment.