Skip to content

Commit

Permalink
Fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
blittle committed Aug 2, 2023
1 parent 00378c2 commit e9ceab0
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1331,10 +1331,12 @@ describe('<CartProvider />', () => {

await act(async () => {});

expect(mockUseCartActions).toHaveBeenCalledWith({
countryCode: mockCountryCode,
languageCode: LanguageCode.Es,
});
expect(mockUseCartActions).toHaveBeenCalledWith(
expect.objectContaining({
countryCode: mockCountryCode,
languageCode: LanguageCode.Es,
})
);
});

it('will try to match once the countryCode props if cart has a different countryCode', async () => {
Expand Down

0 comments on commit e9ceab0

Please sign in to comment.