fix(base-driver): isErrorType import
MODIFY
packages/base-driver/lib/jsonwp-proxy/proxy.js
packages/base-driver/lib/jsonwp-proxy/proxy.js
@@ -324,9 +324,7 @@ class JWProxy {
statusCode = response.statusCode;
} catch (err) {
[statusCode, resBodyObj] = getResponseForW3CError(
- errors.isErrorType(err, errors.ProxyRequestError)
- ? err.getActualError()
- : err
+ isErrorType(err, errors.ProxyRequestError) ? err.getActualError() : err
);
}
res.set('content-type', 'application/json; charset=utf-8');

fix(base-driver): isErrorType import