diff --git a/compiler/forget/scripts/test262-preprocessor.js b/compiler/forget/scripts/test262-preprocessor.js index 7212044a7a..c4b040856d 100644 --- a/compiler/forget/scripts/test262-preprocessor.js +++ b/compiler/forget/scripts/test262-preprocessor.js @@ -5,8 +5,9 @@ * LICENSE file in the root directory of this source tree. */ -const runReactForgetBabelPlugin = - require("../dist/Babel/RunReactForgetBabelPlugin").default; +const { + runReactForgetBabelPlugin, +} = require("../dist/Babel/RunReactForgetBabelPlugin"); // Preprocessor that runs Forget on the test262 test prior to execution. Compilation errors short // circuit test execution and report an error immediately.