{"url":"https://bamch0h.hatenablog.com/entry/2019/01/26/235445","height":"190","version":"1.0","author_name":"bamch0h","description":"\u4eca\u56de\u3082Jest\u306e\u8a18\u4e8b\u3060\u304c\u3001React x Typescript x Jest \u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u66f8\u3044\u3066\u306a\u304b\u3063\u305f\u306a\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u3002 Jest \u00b7 TypeScript Deep Dive \u4eca\u56de\u3082\u53c2\u8003\u306b\u3059\u308b\u306e\u306f\u3053\u306e\u8a18\u4e8b\u3002\u305d\u306e\u4e2d\u306e Example enzyme \u3068\u3044\u3046\u7ae0\u3092\u53c2\u7167\u3059\u308b\u3002 enzyme \u3063\u3066\u306e\u306f\u3088\u304f\u308f\u304b\u3089\u3093\u3067\u3059\u304c\u3001React \u3067\u30c6\u30b9\u30c8\u3059\u308b\u3068\u304d\u306b\u4fbf\u5229\u306b\u306a\u308b\u611f\u3058\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3089\u3057\u3044\u3002 \u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb $ npm i enzyme @types/enzyme enzyme-to-json enzyme-adapter-react-16 -D \u305f\u3060\u3001\u3053\u308c\u3060\u3051\u3060\u3068\u3001\u30c6\u30b9\u30c8\u5b9f\u884c\u6642\u306b enzy\u2026","categories":[],"provider_url":"https://hatena.blog","title":"React \u5165\u9580 (5) \uff5e React x Typescript x Jest \u3067\u30c6\u30b9\u30c8 \uff5e","image_url":null,"published":"2019-01-26 23:54:45","blog_title":"bamchoh\u2019s diary","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbamch0h.hatenablog.com%2Fentry%2F2019%2F01%2F26%2F235445\" title=\"React \u5165\u9580 (5) \uff5e React x Typescript x Jest \u3067\u30c6\u30b9\u30c8 \uff5e - bamchoh\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/bamch0h/","blog_url":"https://bamch0h.hatenablog.com/","width":"100%"}