diff --git a/static/app/__mocks__/api.tsx b/static/app/__mocks__/api.tsx index 33183c32b65584..423bf0d931b8fd 100644 --- a/static/app/__mocks__/api.tsx +++ b/static/app/__mocks__/api.tsx @@ -275,8 +275,7 @@ class Client implements ApiNamespace.Client { abort: () => {}, then: () => {}, error: () => {}, - }, - new XMLHttpRequest() + } ); this.handleRequestError(