Fix ineffective test assertion in updateSupportingItems test
Agent-Logs-Url: https://github.com/Safelite/DigitalConsumer.ISS/sessions/fb2f46f9-6e42-4502-8833-3d3cae89de85 Co-authored-by: katiekroell <100247286+katiekroell@users.noreply.github.com>
This commit is contained in:
parent
5fc719849e
commit
2d00e6e1c1
1 changed files with 8 additions and 4 deletions
|
|
@ -2503,10 +2503,14 @@ describe('Store', () => {
|
||||||
store.updateSupportingItems(partsData);
|
store.updateSupportingItems(partsData);
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
expect.not.objectContaining({
|
expect(store.order.lineItems.supportingItems).not.toEqual(
|
||||||
|
expect.arrayContaining([
|
||||||
|
expect.objectContaining({
|
||||||
partNumber: 'RECYCLE FEE',
|
partNumber: 'RECYCLE FEE',
|
||||||
partType: 'REPLACE FEE'
|
partType: 'REPLACE FEE'
|
||||||
});
|
})
|
||||||
|
])
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue