From 6472ea2fc3f271b8ae79bb197505b00a32bb9efd Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Fri, 16 Feb 2024 08:25:31 -0800 Subject: [PATCH] Add @lexical/react/src/(.*) module name mapping for tests --- jest.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jest.config.js b/jest.config.js index 523e92dca91e..22368ef4d9d4 100644 --- a/jest.config.js +++ b/jest.config.js @@ -71,6 +71,7 @@ module.exports = { '/packages/lexical-react/src/LexicalTabIndentationPlugin.tsx', '^@lexical/react/LexicalTablePlugin$': '/packages/lexical-react/src/LexicalTablePlugin.ts', + '^@lexical/react/src/(.*)$': '/packages/lexical-react/src/$1', '^@lexical/react/useLexicalCanShowPlaceholder$': '/packages/lexical-react/src/useLexicalCanShowPlaceholder.ts', '^@lexical/react/useLexicalDecorators$':