{"author_url":"https://blog.hatena.ne.jp/ryoheyc/","url":"https://blog.covelline.com/entry/2021/11/02/125200","provider_url":"https://hatena.blog","blog_url":"https://blog.covelline.com/","categories":[],"title":"ES Modules \u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u3046\u3068 ts-jest \u304c\u52d5\u304b\u306a\u3044\u554f\u984c\u306e\u30ef\u30fc\u30af\u30a2\u30e9\u30a6\u30f3\u30c9","height":"190","author_name":"ryoheyc","published":"2021-11-02 12:52:00","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.covelline.com%2Fentry%2F2021%2F11%2F02%2F125200\" title=\"ES Modules \u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u3046\u3068 ts-jest \u304c\u52d5\u304b\u306a\u3044\u554f\u984c\u306e\u30ef\u30fc\u30af\u30a2\u30e9\u30a6\u30f3\u30c9 - covelline blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"width":"100%","type":"rich","provider_name":"Hatena Blog","blog_title":"covelline blog","description":"\u6982\u8981 TypeScript + babel + Jest + ts-jest \u306e\u74b0\u5883\u3067\u3001npm \u3067 ESM \u5f62\u5f0f\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u8ffd\u52a0\u3057\u305f\u3068\u304d\u306b Jest \u304c ReferenceError: exports is not defined \u306e\u30a8\u30e9\u30fc\u3092\u51fa\u3057\u3066\u52d5\u304b\u306a\u304f\u306a\u3063\u305f\u73fe\u8c61\u306e\u5bfe\u5fdc\u306e\u8a18\u9332\u3067\u3059\u3002"}