@samitouri / QOS-React / commits / 5f2f76cbcd

Fix test262

We [renamed the export](https://github.com/facebook/react-forget/blob/6f001f54b036d6f427c8d4c1c04ace3ab1998a4d/forget/src/Babel/RunReactForgetBabelPlugin.ts#L22) of runReactForgetBabelPlugin so the test262 preprocessor was erroring

Lauren Tan committed Apr 26, 2023 at 14:12 UTC 5f2f76cbcd27eb1bd2d0cb68965046183f71d98b
1 file changed +3 -2
compiler/forget/scripts/test262-preprocessor.js
+3 -2
@@ -5,8 +5,9 @@
5 * LICENSE file in the root directory of this source tree.
6 */
7
8 -const runReactForgetBabelPlugin =
9 - require("../dist/Babel/RunReactForgetBabelPlugin").default;
8 +const {
9 + runReactForgetBabelPlugin,
10 +} = require("../dist/Babel/RunReactForgetBabelPlugin");
11
12 // Preprocessor that runs Forget on the test262 test prior to execution. Compilation errors short
13 // circuit test execution and report an error immediately.