<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://aipacommander.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>Jest</anon>
  </categories>
  <description>describe('useHogehogeHook', () =&gt; { beforeEach(() =&gt; { console.log(expect.getState().currentTestName); }); // 省略 これで、各テスト実行時にテスト名を表示してくれるようになる。 デバッグしているときに、どのテストでデバッグようにhookに追加したconsole.logが表示されているのかを追うときに便利（そんなことやらずにデバッガ使ってやればいいって話もあると思うけど、僕はまだその域にいけていない）</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faipacommander.com%2Fentry%2F2022%2F08%2F22%2F163217&quot; title=&quot;【Jest】テスト実行時にテスト名をconsole.logで表示する - ITの隊長のブログ&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>2022-08-22 16:32:17</published>
  <title>【Jest】テスト実行時にテスト名をconsole.logで表示する</title>
  <type>rich</type>
  <url>https://aipacommander.com/entry/2022/08/22/163217</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
