Browse Source

chore: Add tiptap/promisemirror to the babel-jest processing logic in jest.confige.js

zhangyumei.0319 1 month ago
parent
commit
1b5363b1f6
1 changed files with 5 additions and 1 deletions
  1. 5 1
      jest.config.js

+ 5 - 1
jest.config.js

@@ -4,7 +4,11 @@ let ModuleNeedCompile2Cjs = [
     'react-dnd',
     'dnd-core',
     'react-dnd-html5-backend',
-    'lottie'
+    'lottie',
+    '@tiptap',
+    'prosemirror-',
+    '@babel',
+    'regexp-util'
     // 'remark-gfm',
     // 'mdast-util-gfm',
     // 'mdast-util-find-and-replace',