Adding minute check for warmup test

This commit is contained in:
Collin Duncan 2024-04-16 10:26:11 +02:00
parent 430ab33627
commit ef9925c29e
No known key found for this signature in database

View file

@ -110,6 +110,7 @@ describe('reservations.cron', () => {
expect(goTimeInvocation).toBeDefined() expect(goTimeInvocation).toBeDefined()
expect(goTimeInvocation?.getMilliseconds()).toBeLessThanOrEqual(100) expect(goTimeInvocation?.getMilliseconds()).toBeLessThanOrEqual(100)
expect(goTimeInvocation?.getSeconds()).toEqual(0) expect(goTimeInvocation?.getSeconds()).toEqual(0)
expect(goTimeInvocation?.getMinutes()).toEqual(0)
expect(goTimeInvocation?.getHours()).toEqual(7) expect(goTimeInvocation?.getHours()).toEqual(7)
}) })