Commit Graph

2 Commits

Author SHA1 Message Date
Jonathan Hefner
859cab5607 Fail on error in JavascriptPackageTest for UJS
Prior to this commit, if `app/javascript/rails-ujs/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.
2023-11-05 15:12:22 -06:00
Ryunosuke Sato
9753982ec9 Add test for compiled @rails/ujs 2023-10-11 00:39:09 +09:00