Commit a3402ecc authored by Steel Wagstaff's avatar Steel Wagstaff

More testing cleanup

More cleaning up of the media-embedder tests
parent 0a569b76
......@@ -93,8 +93,7 @@ describe('media-embedder', function () {
it('replaces mp3 links with html5 audio elements', function() {
var urls = [
'https://archive.org/download/testmp3testfile/mpthreetest.mp3',
'https://archive.org/download/testmp3testfile/mpthreetest.mp3?q=foo&id=bar',
'https://archive.org/download/testmp3testfile/mpthreetest.mp3?foo=bar&id=1'
'https://archive.org/download/testmp3testfile/mpthreetest.mp3?foo=bar&id=1',
];
urls.forEach(function (url) {
var element = domElement('<a href="' + url + '">' + url + '</a>');
......@@ -111,7 +110,6 @@ describe('media-embedder', function () {
it('replaces ogg links with html5 audio elements', function() {
var urls = [
'https://www.w3schools.com/html/horse.ogg',
'https://www.w3schools.com/html/horse.ogg?q=foo&id=bar',
'https://www.w3schools.com/html/horse.ogg?foo=bar&id=1',
];
urls.forEach(function (url) {
......@@ -129,7 +127,6 @@ describe('media-embedder', function () {
it('replaces wav links with html5 audio elements', function() {
var urls = [
'http://freewavesamples.com/files/Kurzweil-K2000-Dual-Bass-C1.wav',
'http://freewavesamples.com/files/Kurzweil-K2000-Dual-Bass-C1.wav?q=foo&id=bar',
'http://freewavesamples.com/files/Kurzweil-K2000-Dual-Bass-C1.wav?foo=bar&id=1',
];
urls.forEach(function (url) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment