mirror of
https://github.com/gristlabs/grist-core.git
synced 2025-06-13 20:53:59 +00:00
more possibilities for how a ProxyAgent error renders
This commit is contained in:
parent
ded37729d5
commit
545d153612
@ -93,8 +93,8 @@ describe("ProxyAgent", function () {
|
||||
// We rely on "ProxyAgent error" message to detect issues with the proxy server.
|
||||
// Error message depends a little on node version.
|
||||
assertMatchArray(logMessages2, [
|
||||
/warn: ProxyAgent error.*((request.*failed)|(ECONNREFUSED))/,
|
||||
/warn: ProxyAgent error.*((request.*failed)|(ECONNREFUSED))/,
|
||||
/warn: ProxyAgent error.*((request.*failed)|(ECONNREFUSED)|(AggregateError))/,
|
||||
/warn: ProxyAgent error.*((request.*failed)|(ECONNREFUSED)|(AggregateError))/,
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user