Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add clock.ticks to now async operations in tests #315

Merged
merged 6 commits into from
Dec 17, 2018

Conversation

ldayananda
Copy link
Contributor

Should resolve #226

@@ -557,6 +557,8 @@ function(assert) {
});
openMediaSource(this.player, this.clock);

this.clock.tick(1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be before openMediaSource?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out I don't actually need this 👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

likely yes

test/master-playlist-controller.test.js Show resolved Hide resolved
gesinger
gesinger previously approved these changes Dec 14, 2018
test/karma.conf.js Outdated Show resolved Hide resolved
@ldayananda ldayananda merged commit 895c86a into videojs:master Dec 17, 2018
@ldayananda ldayananda deleted the fix-tests-vjs branch December 17, 2018 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

An in-range update of video.js is breaking the build 🚨
4 participants