<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ar_tama</author_name>
  <author_url>https://blog.hatena.ne.jp/ar_tama/</author_url>
  <blog_title>たまめも(tech)</blog_title>
  <blog_url>https://tamamemo.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
    <anon>React</anon>
    <anon>TypeScript</anon>
  </categories>
  <description>環境 Rails 6.0.3.3 Webpacker 4.3.0 React-Rails 2.6.1 起きたこと jest @testing-library/react あたりを使ってフロントエンドテストを書いた もちろんdevDependenciesで React Componentのテストの拡張子は xxx.test.tsx とした テストファイルは app/javascripts 以下ではなく test ディレクトリを掘って配置した production環境下の assets:precompile で test 以下のファイルもコンパイル対象になり、依存ライブラリを見つけられずにビルドが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftamamemo.hatenablog.com%2Fentry%2F2020%2F10%2F09%2F134635&quot; title=&quot;assets:precompileでフロントエンドテストがコンパイルされたらtsconfigを疑え - たまめも(tech)&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-09 13:46:35</published>
  <title>assets:precompileでフロントエンドテストがコンパイルされたらtsconfigを疑え</title>
  <type>rich</type>
  <url>https://tamamemo.hatenablog.com/entry/2020/10/09/134635</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
