Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashpatil78 committed Jan 16, 2024
1 parent 313778b commit 085dbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/fyle/add-edit-expense/add-edit-expense-2.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 085dbbb

Please sign in to comment.