Adjust test

This commit is contained in:
Erik Larsson
2020-12-27 10:52:18 +01:00
parent cc046682e2
commit 4975224d8e
@@ -87,7 +87,7 @@ describe('TokenFactory', () => {
iat: expect.any(Number),
exp: expect.any(Number),
});
expect(payload.exp).toBe(payload.iat + keyDurationSeconds * 1000);
expect(payload.exp).toBe(payload.iat + keyDurationSeconds);
});
it('should generate new signing keys when the current one expires', async () => {