This commit is contained in:
ritz078 committed 2020-12-12 15:33:34 +05:30
commit 7bdad5711c
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
diff --git a/node_modules/relay-compiler/lib/core/GraphQLCompilerProfiler.js b/node_modules/relay-compiler/lib/core/GraphQLCompilerProfiler.js
index 77a0cad..d842094 100644
--- a/node_modules/relay-compiler/lib/core/GraphQLCompilerProfiler.js
+++ b/node_modules/relay-compiler/lib/core/GraphQLCompilerProfiler.js
@@ -189,6 +189,8 @@ function instrumentWait(fn, name) {
return instrumented;
}
+process.hrtime = () => null
+
var T_ZERO = process.hrtime(); // Return a Uint32 of microtime duration since program start.
function microtime() {