diff --git a/__tests__/core/cli.ts b/__tests__/core/cli.ts index d3e18461bf..97f283b78a 100644 --- a/__tests__/core/cli.ts +++ b/__tests__/core/cli.ts @@ -337,7 +337,7 @@ describe("Core: CLI", () => { } catch (error) { if (error instanceof AxiosError) { expect(error.toString()).toMatch( - /ECONNREFUSED|ECONNRESET|RequestError/ + /ECONNREFUSED|ECONNRESET|RequestError|AggregateError/ ); } else throw error; }