From 085dbbbcf2a6ff1df70a795b020cdefecdf23116 Mon Sep 17 00:00:00 2001 From: suyashpatil78 Date: Tue, 16 Jan 2024 22:57:03 +0530 Subject: [PATCH] minor --- src/app/fyle/add-edit-expense/add-edit-expense-2.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/fyle/add-edit-expense/add-edit-expense-2.spec.ts b/src/app/fyle/add-edit-expense/add-edit-expense-2.spec.ts index 6244313160..ac9ac1e645 100644 --- a/src/app/fyle/add-edit-expense/add-edit-expense-2.spec.ts +++ b/src/app/fyle/add-edit-expense/add-edit-expense-2.spec.ts @@ -500,7 +500,7 @@ export function TestCases2(getTestBed) { dateService.getUTCDate.and.returnValue(extractedDate); component.getEditExpenseObservable().subscribe((res) => { - expect(res).toEqual(unflattenedTxnWithExtractedData2); + expect(res).toEqual(mockedTxn); expect(dateService.getUTCDate).toHaveBeenCalledOnceWith(mockedTxn.tx.extracted_data.date); expect(mockedTxn.tx.txn_dt).toEqual(extractedDate); done();