diff --git a/frontend/packages/shared/src/mocks/apiErrorMocks.ts b/frontend/packages/shared/src/mocks/apiErrorMocks.ts deleted file mode 100644 index 6825624341e..00000000000 --- a/frontend/packages/shared/src/mocks/apiErrorMocks.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AxiosResponse } from 'axios'; -import { AxiosError } from 'axios'; - -export const createApiErrorMock = (status?: number): AxiosError => { - const error = new AxiosError(); - error.response = { - status, - } as AxiosResponse; - return error; -};