fix: fixing nested li #3460
Annotations
7 errors
|
build
Process completed with exit code 1.
|
|
src/components/Payroll/PayrollList/PayrollListPresentation.test.tsx > PayrollListPresentation > payroll actions > calls onSubmitPayroll when submit payroll button is clicked:
src/components/Payroll/PayrollList/PayrollListPresentation.test.tsx#L336
AssertionError: expected "spy" to be called with arguments: [ { payrollId: 'payroll-2' } ]
Received:
1st spy call:
[
{
- "payrollId": "payroll-2",
+ "payPeriod": {
+ "endDate": "2024-12-15",
+ "payScheduleUuid": "schedule-1",
+ "startDate": "2024-12-01",
+ },
+ "payrollUuid": "payroll-2",
},
]
Number of calls: 1
❯ src/components/Payroll/PayrollList/PayrollListPresentation.test.tsx:336:31
|
|
src/components/Payroll/PayrollList/PayrollListPresentation.test.tsx > PayrollListPresentation > payroll actions > calls onRunPayroll when run payroll button is clicked:
src/components/Payroll/PayrollList/PayrollListPresentation.test.tsx#L310
AssertionError: expected "spy" to be called with arguments: [ { payrollId: 'payroll-1' } ]
Received:
1st spy call:
[
{
- "payrollId": "payroll-1",
+ "payPeriod": {
+ "endDate": "2024-12-15",
+ "payScheduleUuid": "schedule-1",
+ "startDate": "2024-12-01",
+ },
+ "payrollUuid": "payroll-1",
},
]
Number of calls: 1
❯ src/components/Payroll/PayrollList/PayrollListPresentation.test.tsx:310:28
|
|
src/helpers/breadcrumbHelpers.test.ts > updateBreadcrumbs > should handle complex real-world scenario with multiple state transitions:
src/helpers/breadcrumbHelpers.test.ts#L557
AssertionError: expected [ { id: 'list', …(2) }, …(2) ] to deeply equal [ { id: 'list', label: 'List' }, …(2) ]
- Expected
+ Received
@@ -1,13 +1,21 @@
[
{
"id": "list",
"label": "List",
+ "variables": {
+ "firstName": "Alice",
+ "lastName": "Cooper",
+ },
},
{
"id": "configuration",
"label": "Configuration",
+ "variables": {
+ "firstName": "Alice",
+ "lastName": "Cooper",
+ },
},
{
"id": "editEmployee",
"label": "Edit Employee",
"variables": {
❯ src/helpers/breadcrumbHelpers.test.ts:557:45
|
|
src/helpers/breadcrumbHelpers.test.ts > updateBreadcrumbs > should not update variables for parent breadcrumbs:
src/helpers/breadcrumbHelpers.test.ts#L450
AssertionError: expected [ { id: 'list', …(2) }, …(1) ] to deeply equal [ { id: 'list', …(2) }, …(1) ]
- Expected
+ Received
@@ -1,11 +1,11 @@
[
{
"id": "list",
"label": "List",
"variables": {
- "oldVar": "old",
+ "firstName": "Jane",
},
},
{
"id": "configuration",
"label": "Configuration",
❯ src/helpers/breadcrumbHelpers.test.ts:450:46
|
|
src/helpers/breadcrumbHelpers.test.ts > updateBreadcrumbs > should update variables for the current state breadcrumb:
src/helpers/breadcrumbHelpers.test.ts#L423
AssertionError: expected [ { id: 'list', …(2) }, …(1) ] to deeply equal [ { id: 'list', label: 'List' }, …(1) ]
- Expected
+ Received
@@ -1,9 +1,13 @@
[
{
"id": "list",
"label": "List",
+ "variables": {
+ "firstName": "John",
+ "lastName": "Doe",
+ },
},
{
"id": "editEmployee",
"label": "Edit Employee",
"variables": {
❯ src/helpers/breadcrumbHelpers.test.ts:423:45
|
|
src/helpers/breadcrumbHelpers.test.ts > updateBreadcrumbs > should add breadcrumbs for a new state:
src/helpers/breadcrumbHelpers.test.ts#L397
AssertionError: expected [ { id: 'list', …(2) }, …(1) ] to deeply equal [ { id: 'list', label: 'List' }, …(1) ]
- Expected
+ Received
[
{
"id": "list",
"label": "List",
+ "variables": {},
},
{
"id": "configuration",
"label": "Configuration",
+ "variables": {},
},
]
❯ src/helpers/breadcrumbHelpers.test.ts:397:46
|