Skip to content

Commit

Permalink
fix: 🔧 fix broken test caused by react-markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
henghaopu committed Sep 8, 2022
1 parent 6be08cd commit da185da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,10 @@
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
},
"jest": {
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\](?!(react-markdown|trim-lines|react-syntax-highlighter|vfile|vfile-message|markdown-table|unist-.*|unified|bail|is-plain-obj|trough|remark-.*|rehype-.*|html-void-elements|hast-util-.*|zwitch|hast-to-hyperscript|hastscript|web-namespaces|mdast-util-.*|escape-string-regexp|micromark.*|decode-named-character-reference|character-entities|property-information|hast-util-whitespace|space-separated-tokens|comma-separated-tokens|pretty-bytes|ccount|mdast-util-gfm|gemoji)).+\\.(js|jsx|mjs|cjs|ts|tsx)$"
]
}
}

0 comments on commit da185da

Please sign in to comment.