mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user