Skip to content

Commit

Permalink
Add @lexical/react/src/(.*) module name mapping for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed Feb 16, 2024
1 parent 8e9c7e1 commit 6472ea2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ module.exports = {
'<rootDir>/packages/lexical-react/src/LexicalTabIndentationPlugin.tsx',
'^@lexical/react/LexicalTablePlugin$':
'<rootDir>/packages/lexical-react/src/LexicalTablePlugin.ts',
'^@lexical/react/src/(.*)$': '<rootDir>/packages/lexical-react/src/$1',
'^@lexical/react/useLexicalCanShowPlaceholder$':
'<rootDir>/packages/lexical-react/src/useLexicalCanShowPlaceholder.ts',
'^@lexical/react/useLexicalDecorators$':
Expand Down

0 comments on commit 6472ea2

Please sign in to comment.