Skip to content

Commit

Permalink
Fix soundcloud canPlay test
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Feb 8, 2018
1 parent 6e536d1 commit 1f158d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/specs/canPlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ describe('canPlay', () => {
expect(SoundCloud.canPlay('http://soundcloud.com/artist-name/title-name')).to.be.true
expect(SoundCloud.canPlay('http://soundcloud.com/artist_name/title_name')).to.be.true
expect(SoundCloud.canPlay('http://snd.sc/artist-name/title-name')).to.be.true
expect(SoundCloud.canPlay('http://soundcloud.com/artist-only')).to.be.true
})

it('knows what it can\'t play', () => {
expect(SoundCloud.canPlay('http://soundcloud.com/artist-only')).to.be.false
expect(SoundCloud.canPlay('https://www.youtube.com/watch?v=12345678901')).to.be.false
expect(SoundCloud.canPlay('http://vimeo.com/1234')).to.be.false
})
Expand Down

0 comments on commit 1f158d1

Please sign in to comment.