<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a666666</author_name>
  <author_url>https://blog.hatena.ne.jp/a666666/</author_url>
  <blog_title>@kyanny's blog</blog_title>
  <blog_url>https://blog.kyanny.me/</blog_url>
  <categories>
  </categories>
  <description>CI環境下では pass するがローカルマシンで実行すると fail するテストがあった。テスト環境用の i18n.init のオプションが不十分なのが原因だった。 ローカルでのみ落ちるテストは pluralization rule の単数形・複数形にまつわるもので、以下のような翻訳リソースがあるとき、 &quot;2 activities&quot; を期待している部分が &quot;2 activity&quot; となってしまいアサーションが失敗する、というものだった。 locales/en-US/translation.json { &quot;activity&quot;: &quot;__count__ activity&quot;, &quot;activity_pl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F2015%2F02%2F23%2F034728&quot; title=&quot;i18next.js をテスト環境で正しく設定する方法 - @kyanny&amp;#39;s blog&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>2015-02-23 03:47:28</published>
  <title>i18next.js をテスト環境で正しく設定する方法</title>
  <type>rich</type>
  <url>https://blog.kyanny.me/entry/2015/02/23/034728</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
