26 unit testing #54
Annotations
2 errors and 6 warnings
app/board/actions/reschedule-overdue-tasks.action.spec.ts > RescheduleOverdueTasksAction > should reschedule overdue tasks:
app/board/actions/reschedule-overdue-tasks.action.spec.ts#L26
AssertionError: expected "spy" to be called with arguments: [ { where: { …(2) }, data: { …(1) } } ]
Received:
1st spy call:
Array [
Object {
"data": Object {
"dueDate": 2024-08-19T15:24:26.291Z,
},
"where": Object {
"dueDate": Object {
- "lt": 2024-08-19T15:24:26.293Z,
+ "lt": 2024-08-19T15:24:26.292Z,
},
"userId": "1",
},
},
]
Number of calls: 1
❯ app/board/actions/reschedule-overdue-tasks.action.spec.ts:26:27
|
Test 🧪
Process completed with exit code 1.
|
Build 🧱
Unexpected input(s) 'DATABASE_URL', valid inputs are ['']
|
Build 🧱
Unexpected input(s) 'DATABASE_URL', valid inputs are ['']
|
Test 🧪
Unexpected input(s) 'DATABASE_URL', valid inputs are ['']
|
Test 🧪
Unexpected input(s) 'DATABASE_URL', valid inputs are ['']
|
Lint 🐱
Unexpected input(s) 'DATABASE_URL', valid inputs are ['']
|
Lint 🐱
Unexpected input(s) 'DATABASE_URL', valid inputs are ['']
|