rails/actioncable/test
Jonathan Hefner 8e213f72dd Update JavascriptPackageTest for Action Cable
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 4a23cb3415, Active Storage
compiles additional `app/assets/javascripts/actioncable.js` and
`app/assets/javascripts/actioncable.esm.js` files (with
`app/assets/javascripts/action_cable.js` being deprecated).  This commit
adds assertions for those files as well.
2023-11-05 15:13:30 -06:00
..
channel [Tests only] Enable `Minitest/AssertPredicate` rule 2023-10-13 19:26:47 +00:00
connection feat: action cable connection callbacks 2022-05-16 12:24:38 -07:00
javascript/src Allows adding more protocols to the WebSocket sub protocols 2022-10-19 09:00:15 +02:00
server Stop building AS::Notifications::Event manually 2023-09-29 12:34:23 -04:00
stubs Merge pull request #47483 from palkan/fix/channel-test-case-test-server 2023-03-03 18:23:21 -05:00
subscription_adapter [Tests only] Enable `Minitest/AssertPredicate` rule 2023-10-13 19:26:47 +00:00
client_test.rb [Tests only] Enable `Minitest/AssertPredicate` rule 2023-10-13 19:26:47 +00:00
javascript_package_test.rb Update JavascriptPackageTest for Action Cable 2023-11-05 15:13:30 -06:00
test_helper.rb Enable verbose mode in test and report warnings as errors 2022-10-11 09:25:18 +02:00
test_helper_test.rb Introduce `capture_emails` and `capture_broadcasts` (#48798) 2023-07-25 06:42:54 +02:00
worker_test.rb Inherit all actioncable's test classes from `ActionCable::TestCase` 2018-06-08 23:23:06 +03:00