aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/javascript
Commit message (Collapse)AuthorAgeFilesLines
* ActionCable should not raise when a connection is already openDuncan Grazier2017-01-061-2/+5
| | | | | | | | | | | ActionCable was throwing a "Existing connection must be closed before opening" exception which was being picked up as a production issue in our error monitoring software. Since this happens pretty often on any device that allows the browser to sleep (mobile) this error was getting triggered often. This change removes the exception, but keeps logging the occurrence. We now return `false` to let the caller now that `open` failed.
* Add more Action Cable JavaScript testsJavan Makhmali2016-11-214-0/+78
|
* Add helper for testing against a mock WebSocket and serverJavan Makhmali2016-05-315-56/+48
|
* Reorganize `MockWebSocket`Jon Moss2016-05-312-22/+32
|
* Add configuration for `WebSocket` and `logger`Jon Moss2016-05-312-4/+18
| | | | [Javan Makhmali, Jon Moss]
* Kick off initial JavaScript testsJavan Makhmali2016-05-096-0/+4617