{"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.aipacommander.com%2Fentry%2F2022%2F07%2F23%2F133714\" title=\"Vite + TypeScript + React\u306e\u74b0\u5883\u306bJest\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff08\u9014\u4e2d\uff09 - IT\u306e\u968a\u9577\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","width":"100%","categories":["TypeScript","React","Jest","Vite"],"image_url":null,"blog_url":"https://www.aipacommander.com/","author_url":"https://blog.hatena.ne.jp/aipacommander/","title":"Vite + TypeScript + React\u306e\u74b0\u5883\u306bJest\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff08\u9014\u4e2d\uff09","published":"2022-07-23 13:37:14","provider_name":"Hatena Blog","url":"https://www.aipacommander.com/entry/2022/07/23/133714","blog_title":"IT\u306e\u968a\u9577\u306e\u30d6\u30ed\u30b0","author_name":"aipacommander","height":"190","description":"zenn.dev \u2191\u307f\u305f\u3089\u3082\u3046\u89e3\u6c7a\u3067\u3059\u3002 github.com \u3053\u306ecommit\u304b\u3089\u30b9\u30bf\u30fc\u30c8\u3057\u307e\u3057\u305f\u3002 $ yarn add --dev jest typescript @types/jest ts-jest \u3069\u3046\u3084\u3089typescript\u304c\u5165\u3063\u3066\u306a\u304b\u3063\u305f\u3089\u3057\u3044\u3067\u3059\uff08\u3042\u308c\uff1f\uff1f\uff1f\uff1f\uff09 \u3042\u3068\u306f\u53c2\u8003URL\u306e\u901a\u308a\u3001 jest.config.json \u3068 package.json \u3092\u4f5c\u6210\u4fee\u6b63\u3057\u3001\u30c6\u30b9\u30c8\u7528\u306e\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u7528\u610f\u3057\u305f\u3089\u304a\uff4b\uff0e $ yarn run test yarn run v1.22.17 $ jest --config ./jest.config.json ts-jest[config] (\u2026","provider_url":"https://hatena.blog"}