Skip to content

Commit

Permalink
fixing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
krpeacock committed Sep 6, 2023
1 parent 26249e3 commit 8b80563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/identity/src/identity/delegation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ test('Cannot create a delegation chain with an outdated delegation', async () =>
(rootToMiddle.delegations[0].delegation as any).expiration = BigInt(0);

expect(
DelegationChain.create(middle, bottom.getPublicKey(), new Date(0), {
DelegationChain.create(middle, bottom.getPublicKey(), expiry_date, {
previous: rootToMiddle,
}),
).rejects.toThrow('Previous delegation in the chain has expired.');
Expand Down

0 comments on commit 8b80563

Please sign in to comment.