From b3fedd32735925b0514b452a1882f4efa076ff98 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Thu, 19 Jan 2023 13:33:32 -0500 Subject: [PATCH] Fix import path to ReactForgetBabelPlugin This broke jest in watch mode --- compiler/forget/scripts/jest/makeTransform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/forget/scripts/jest/makeTransform.js b/compiler/forget/scripts/jest/makeTransform.js index 9ba9012092..af4e10a19f 100644 --- a/compiler/forget/scripts/jest/makeTransform.js +++ b/compiler/forget/scripts/jest/makeTransform.js @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -const ReactForgetBabelPlugin = require("../../dist").default; +const ReactForgetBabelPlugin = require("../../dist").BabelPlugin; const babelJest = require("babel-jest"); const { readFileSync } = require("fs");