Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,13 @@
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"msw": "^1.2.3"
},
"jest": {
"transformIgnorePatterns": [
"(?!(/node_modules/(bail|comma-separated-tokens|decode-named-character-reference|character-entities|hast-util-whitespace|is-plain-obj|mdast-util-.*|micromark.*|property-information|react-markdown|react-native|react-native-button|remark-.*|space-separated-tokens|trim-lines|trough|unified|unist-util-.*|vfile|vfile-message)/))(/node_modules/.+.(js|jsx|mjs|cjs|ts|tsx)$)"
],
"transform": {
"^.+\\.(js|jsx)$": "babel-jest"
}
}
}
1 change: 1 addition & 0 deletions src/features/postContent/PostDetail.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useEffect } from "react";
import ReactMarkdown from "react-markdown";
import { useSelector } from "react-redux";
import { useLocation, useNavigate, useParams } from "react-router-dom";

Expand Down

0 comments on commit 89adaa8

Please sign in to comment.