1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-06 06:50:51 +02:00
video.js/test/unit
Brandon Casey 091bdf9261 feat: Return the native Promise from play() (#3907)
Return the native Promise from `play()` if it exists. `undefined` is returned otherwise.
This comes in as part of the greater effort to remove method chaining.

BREAKING CHANGE: `play()` no longer returns the player object but instead the native Promise or nothing.
2017-01-18 00:53:11 -05:00
..
tech refactor: remove special loadstart handling (#3906) 2017-01-18 00:38:31 -05:00
tracks refactor: Make registerComponent only work with Components (#3802) 2017-01-18 00:46:43 -05:00
utils feat: Log Levels (#3853) 2017-01-18 00:35:42 -05:00
button.test.js @rlchung fixed tests that weren't disposing players when they finished. closes 3524 2016-08-25 10:58:42 -04:00
clickable-component.test.js feat(clickable-component): Disable interaction with disabled clickable components (#3525) 2016-11-03 15:43:15 -04:00
close-button.test.js @pagarwal123 updated some test code to pass linter 2016-08-05 11:38:08 -04:00
component.test.js refactor: Make registerComponent only work with Components (#3802) 2017-01-18 00:46:43 -05:00
controls.test.js @rlchung fixed tests that weren't disposing players when they finished. closes 3524 2016-08-25 10:58:42 -04:00
events.test.js test(events): silence error logging in tests (#3835) 2016-12-05 16:22:49 -05:00
extend.test.js @misteroneill updated tests to qunit 2.0. closes #3509 2016-08-12 13:51:31 -04:00
media-error.test.js @misteroneill fixed IE8 media error test failure. closes #3568 2016-08-24 13:48:39 -04:00
menu.test.js @misteroneill updated tests to qunit 2.0. closes #3509 2016-08-12 13:51:31 -04:00
modal-dialog.test.js @pagarwal123 updated some test code to pass linter 2016-08-05 11:38:08 -04:00
player.test.js feat: Return the native Promise from play() (#3907) 2017-01-18 00:53:11 -05:00
plugins.test.js stub/restore window.console properly (#3861) 2016-12-15 14:55:23 -05:00
poster.test.js @misteroneill updated tests to qunit 2.0. closes #3509 2016-08-12 13:51:31 -04:00
setup.test.js @rlchung fixed tests that weren't disposing players when they finished. closes 3524 2016-08-25 10:58:42 -04:00
test-helpers.js test: fix tests on older IE (#3800) 2016-12-02 14:17:36 -05:00
video.test.js fix: extra warn logs on already initialized player references (#3888) 2016-12-23 11:29:23 -05:00
videojs-hooks.test.js test(hooks): remove errors logged in tests (#3865) 2016-12-15 15:48:03 -05:00