<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinshin86</author_name>
  <author_url>https://blog.hatena.ne.jp/shinshin86/</author_url>
  <blog_title>at backyard</blog_title>
  <blog_url>https://shinshin86.hateblo.jp/</blog_url>
  <categories>
    <anon>jest</anon>
    <anon>備忘録</anon>
  </categories>
  <description>少し古くなっていたパッケージのバージョンを上げた際にJestのテストで以下のようなエラーが発生した。 The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string. Consider using the &quot;jsdom&quot; test environment. エラーメッセージ内に記載されているURLを確認すると、testEnvironment についての記載があった。 https://jestjs.i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinshin86.hateblo.jp%2Fentry%2F2021%2F10%2F23%2F120831&quot; title=&quot;JestでConsider using the &amp;quot;jsdom&amp;quot; test environment.というエラーが出たので対応した - at backyard&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-23 12:08:31</published>
  <title>JestでConsider using the &quot;jsdom&quot; test environment.というエラーが出たので対応した</title>
  <type>rich</type>
  <url>https://shinshin86.hateblo.jp/entry/2021/10/23/120831</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
