Live view of orders and bookings #235
codecov.yml
on: push
Run backend tests and collect coverage
39s
Run frontend customer tests and collect coverage
20s
Annotations
7 errors
src/components/__tests__/WaitingTimeDisplay.spec.ts > WaitingTimeDisplay > renders loading state correctly:
frontend/customer/src/components/__tests__/WaitingTimeDisplay.spec.ts#L59
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/components/__tests__/WaitingTimeDisplay.spec.ts:59:53
|
src/components/__tests__/WaitingTimeDisplay.spec.ts > WaitingTimeDisplay > renders waiting time and queue information correctly:
frontend/customer/src/components/__tests__/WaitingTimeDisplay.spec.ts#L65
AssertionError: expected 'Estimert ventetid0min 0 venterOppdate…' to contain '1h 30min'
Expected: "1h 30min"
Received: "Estimert ventetid0min 0 venterOppdatert 12:00:00"
❯ src/components/__tests__/WaitingTimeDisplay.spec.ts:65:28
|
src/components/__tests__/WaitingTimeDisplay.spec.ts > WaitingTimeDisplay > displays error message when there is an error:
frontend/customer/src/components/__tests__/WaitingTimeDisplay.spec.ts#L86
AssertionError: expected 'Estimert ventetid0min 0 venterOppdate…' to contain 'Failed to fetch queue status'
Expected: "Failed to fetch queue status"
Received: "Estimert ventetid0min 0 venterOppdatert 12:00:00"
❯ src/components/__tests__/WaitingTimeDisplay.spec.ts:86:28
|
src/components/__tests__/WaitingTimeDisplay.spec.ts > WaitingTimeDisplay > starts polling on mount and cleans up on unmount:
frontend/customer/src/components/__tests__/WaitingTimeDisplay.spec.ts#L107
AssertionError: expected "spy" to be called with arguments: [ 30000 ]
Received:
Number of calls: 0
❯ src/components/__tests__/WaitingTimeDisplay.spec.ts:107:30
|
src/components/__tests__/WaitingTimeDisplay.spec.ts > WaitingTimeDisplay > formats time correctly for different locales:
frontend/customer/src/components/__tests__/WaitingTimeDisplay.spec.ts#L130
AssertionError: expected 'Estimert ventetid0min 0 venterOppdate…' to contain '13:34:56'
Expected: "13:34:56"
Received: "Estimert ventetid0min 0 venterOppdatert 12:00:00"
❯ src/components/__tests__/WaitingTimeDisplay.spec.ts:130:28
|
Run frontend customer tests and collect coverage
Process completed with exit code 1.
|
Run backend tests and collect coverage
Process completed with exit code 1.
|