Skip to content

Commit

Permalink
update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrust committed Jan 18, 2023
1 parent 55f3a21 commit 0be09d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/stake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe("stake pool management", () => {
const initPoolWithFail = initPool({
// startsAt should be more than now
...defaultStakePoolParams,
startsAt: new anchor.BN(Math.floor(Date.now() / 1000)),
startsAt: new anchor.BN(Math.floor(Date.now() / 1000) - 1),
});

await expect(initPoolWithFail).to.eventually.be.rejectedWith(
Expand Down

0 comments on commit 0be09d5

Please sign in to comment.