Compare commits

...

1 Commits

Author SHA1 Message Date
Eléonore Voisin 7522569ce0 Try to fix test 2025-02-07 10:05:03 +01:00
@@ -110,6 +110,10 @@ describe('ModalAddMailDomain', () => {
await user.click(buttonSubmit);
await waitFor(() => {
expect(fetchMock.calls().length).toBe(1);
});
expect(fetchMock.lastUrl()).toContain('/mail-domains/');
expect(fetchMock.lastOptions()).toEqual({
body: JSON.stringify({