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

Match YouTube URL with extra parameters #332

Merged
merged 1 commit into from
Feb 21, 2018

Conversation

WebMaestroFr
Copy link
Contributor

If the regular expression expects the end of string after a video ID, many YouTube links (like https://youtu.be/YE7VzlLtp-4?t=17s for instance) won't match and pass the canPlay test.

If the regular expression expects the end of string after a video ID, many YouTube links (like https://youtu.be/YE7VzlLtp-4?t=17s for instance) won't match and pass the `canPlay` test.
@WebMaestroFr
Copy link
Contributor Author

Chrome was not killed in 2000 ms, sending SIGKILL., The command "npm run test" exited with 1. says Travis...

But I just changed a single character in a regex, what could I've done wrong ?

@cookpete
Copy link
Owner

Chrome was not killed in 2000 ms, sending SIGKILL., The command "npm run test" exited with 1. says Travis...

But I just changed a single character in a regex, what could I've done wrong ?

Don't worry too much. Testing in Travis has been extremely inconsistent recently, which is very frustrating. I'm trying to work out a more reliable way to run tests, even if it means making them more basic and reducing coverage.

@cookpete cookpete merged commit 6ee6da8 into cookpete:master Feb 21, 2018
@WebMaestroFr WebMaestroFr deleted the patch-1 branch February 22, 2018 00:11
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.

None yet

2 participants