mirror of https://github.com/rails/rails
8e213f72dd
Prior to this commit, if `app/javascript/action_cable/index.js`
contained a syntax error, `JavascriptPackageTest` would still pass
because `system "yarn build"` would simply return `false` and the
compiled output would not change. This commit adds `exception: true` to
the `system` call so that an error will be raised if `yarn build` fails.
Also, since
|
||
---|---|---|
.. | ||
channel | ||
connection | ||
javascript/src | ||
server | ||
stubs | ||
subscription_adapter | ||
client_test.rb | ||
javascript_package_test.rb | ||
test_helper.rb | ||
test_helper_test.rb | ||
worker_test.rb |