Compare commits
1 Commits
main
...
ev/tryfix-test
| Author | SHA1 | Date | |
|---|---|---|---|
| 7522569ce0 |
+4
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user