diff --git a/test/karma/ReactPlayer.js b/test/karma/ReactPlayer.js index 0d2bdff7..f1948598 100644 --- a/test/karma/ReactPlayer.js +++ b/test/karma/ReactPlayer.js @@ -104,10 +104,12 @@ describe('ReactPlayer', () => { it.skip('fires onError', (done) => testError(TEST_FILE_ERROR, done)) }) - it('switches between media', function (done) { - const renderFilePlayer = () => testPlay(TEST_FILE_URL, done) - const renderVimeoPlayer = () => testPlay(TEST_VIMEO_URL, renderFilePlayer) - const renderSoundCloudPlayer = () => testPlay(TEST_SOUNDCLOUD_URL, renderVimeoPlayer) - testPlay(TEST_YOUTUBE_URL, renderSoundCloudPlayer) + describe('Switching', () => { + it('switches between media', function (done) { + const renderFilePlayer = () => testPlay(TEST_FILE_URL, done) + const renderVimeoPlayer = () => testPlay(TEST_VIMEO_URL, renderFilePlayer) + const renderSoundCloudPlayer = () => testPlay(TEST_SOUNDCLOUD_URL, renderVimeoPlayer) + testPlay(TEST_YOUTUBE_URL, renderSoundCloudPlayer) + }) }) })