<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wafuwafu13</author_name>
  <author_url>https://blog.hatena.ne.jp/wafuwafu13/</author_url>
  <blog_title>経験は何よりも饒舌</blog_title>
  <blog_url>https://wafuwafu13.hatenadiary.com/</blog_url>
  <categories>
    <anon>OSS活動</anon>
    <anon>React</anon>
  </categories>
  <description>qrcode.reactは、その名の通りQRコードを生成してくれるReactコンポーネントだ。 github.comファイル構成はsrc/index.jsでゴリゴリ計算というか文字列を算出し、コンポーネントを返す構成だった。 テストがなかったので、テストを追加したかったのだが、何に対してテストを追加すればよいのかわからず、しばらく放置していた。 convertStr関数やgeneratePath関数の入力と出力に対する単体テストを追加しようと思ったけれど、あまり恩恵はないように思えた。 qrcode.react/index.js at 6aeb42abc26ffecc868b630b6ad8f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwafuwafu13.hatenadiary.com%2Fentry%2F2021%2F02%2F19%2F101632&quot; title=&quot;qrcode.react とスナップショットテストの相性が最高すぎた - 経験は何よりも饒舌&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>https://cdn-ak.f.st-hatena.com/images/fotolife/w/wafuwafu13/20210219/20210219100441.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-19 10:16:32</published>
  <title>qrcode.react とスナップショットテストの相性が最高すぎた</title>
  <type>rich</type>
  <url>https://wafuwafu13.hatenadiary.com/entry/2021/02/19/101632</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
