Skip to content

Commit

Permalink
expect right return object in action plan frontend unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel7373 committed Jan 30, 2025
1 parent 030084e commit d751a16
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ describe('ActionPlanComponent', () => {
.toHaveLength(1);
expect(component.getFormControlArray()
.getRawValue())
.toStrictEqual([minItem]);
.toStrictEqual([expect.objectContaining({
item: '',
isChecked: false
})]);
});

function setFormControlArrayValue(items: Item[]) {
Expand Down

0 comments on commit d751a16

Please sign in to comment.