[oops] Use correct import path in test262-preprocessor
Lauren Tan committed
Jan 19, 2023 at 12:29 UTC
6174c85ee99496b3e3da77d1db855a386400cd84
1 file changed
+2
-1
compiler/forget/scripts/test262-preprocessor.js
+2
-1
@@ -1,4 +1,5 @@
1
-const runReactForgetBabelPlugin = require("../dist/Babel/RunReactForgetBabelPlugin");
1
+const runReactForgetBabelPlugin =
2
+ require("../dist/Babel/RunReactForgetBabelPlugin").default;
3
4
// Preprocessor that runs Forget on the test262 test prior to execution. Compilation errors short
5
// circuit test execution and report an error immediately.