From 6174c85ee99496b3e3da77d1db855a386400cd84 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Thu, 19 Jan 2023 12:29:49 -0500 Subject: [PATCH] [oops] Use correct import path in test262-preprocessor --- compiler/forget/scripts/test262-preprocessor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/forget/scripts/test262-preprocessor.js b/compiler/forget/scripts/test262-preprocessor.js index 919a08c1fe..ef4ed5ac95 100644 --- a/compiler/forget/scripts/test262-preprocessor.js +++ b/compiler/forget/scripts/test262-preprocessor.js @@ -1,4 +1,5 @@ -const runReactForgetBabelPlugin = require("../dist/Babel/RunReactForgetBabelPlugin"); +const runReactForgetBabelPlugin = + require("../dist/Babel/RunReactForgetBabelPlugin").default; // Preprocessor that runs Forget on the test262 test prior to execution. Compilation errors short // circuit test execution and report an error immediately.