Rearranging order of tests for better picture of what is happening on cicd
This commit is contained in:
parent
51080310d8
commit
430ab33627
1 changed files with 2 additions and 2 deletions
|
|
@ -108,9 +108,9 @@ describe('reservations.cron', () => {
|
||||||
const { timestamp: goTimeInvocation } =
|
const { timestamp: goTimeInvocation } =
|
||||||
loggerInvocationDates.find(({ msg }) => msg === `It's go-time`) ?? {}
|
loggerInvocationDates.find(({ msg }) => msg === `It's go-time`) ?? {}
|
||||||
expect(goTimeInvocation).toBeDefined()
|
expect(goTimeInvocation).toBeDefined()
|
||||||
expect(goTimeInvocation?.getHours()).toEqual(7)
|
|
||||||
expect(goTimeInvocation?.getSeconds()).toEqual(0)
|
|
||||||
expect(goTimeInvocation?.getMilliseconds()).toBeLessThanOrEqual(100)
|
expect(goTimeInvocation?.getMilliseconds()).toBeLessThanOrEqual(100)
|
||||||
|
expect(goTimeInvocation?.getSeconds()).toEqual(0)
|
||||||
|
expect(goTimeInvocation?.getHours()).toEqual(7)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should perform reservations', () => {
|
it('should perform reservations', () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue