title: Is there a way to run Rails tests without a Javascript runtime?
body: <p>I'm trying to make my CI pipelines leaner and quicker. I don't have integration tests for my Rails app, so I want to run tests without installing Node or any other JS runtime.</p>
  
  <p>I've tried adding this to my config/test.rb:</p>
  
  <pre class="lang-rb prettyprint-override"><code>  config.assets.enabled = false
    config.assets.compile = false
  </code></pre>
  
  <p>And also tried setting <code>test.compile</code> to <code>false</code> in webpacker.yml. However, every time I run <code>rails test</code> on CI I get an <code>ExecJS::RuntimeUnavailable</code> error.</p>
  
  <p>Is there a way to run Rails tests without depending on a JS runtime?</p>