trxcllnt commented on a change in pull request #8216:
URL: https://github.com/apache/arrow/pull/8216#discussion_r492263771
##########
File path: js/test/Arrow.ts
##########
@@ -27,6 +27,13 @@ require('web-stream-tools');
(<any> global).window = (<any> global).window || global;
// Fix for Jest in node v10.x
+Object.defineProperty(Object, Symbol.hasInstance, {
+ writable: true,
+ configurable: true,
+ value(inst: any) {
+ return inst && inst.constructor && inst.constructor.name === 'Object';
+ }
+});
Review comment:
This is a weird one, it only seems to be important for the ES5/UMD
closure-compiler build.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]