Skip to content

Commit

Permalink
Tweak tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Mar 15, 2018
1 parent c9beaad commit 3b92c4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/specs/ReactPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const TEST_URLS = [
{
name: 'FilePlayer',
url: 'http://clips.vorwaerts-gmbh.de/big_buck_bunny.ogv',
switchTo: 'http://www.sample-videos.com/audio/mp3/crowd-cheering.mp3',
switchTo: 'https://storage.googleapis.com/media-session/elephants-dream/the-wires.mp3',
error: 'http://example.com/error.ogv',
onSeek: true
},
Expand Down Expand Up @@ -383,7 +383,7 @@ describe('ReactPlayer', () => {
)
})

it('does not error when seeking using fraction when duration is available', done => {
it('does not error when seeking using fraction when duration is not available', done => {
renderPlayer({
url: 'https://www.youtube.com/watch?v=M7lc1UVf-VE',
onReady: () => {
Expand Down

0 comments on commit 3b92c4a

Please sign in to comment.