Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Update tests to use https
Browse files Browse the repository at this point in the history
  • Loading branch information
danigb committed Sep 22, 2016
1 parent 2a2dc2e commit f505a3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -28,11 +28,11 @@
},
"dependencies": {
"audio-loader": "^0.5.0",
"note-parser": "^1.1.0",
"note-parser": "^2.0.0",
"sample-player": "^0.5.3"
},
"devDependencies": {
"browserify": "^13.0.0",
"browserify": "^13.1.0",
"eslint": "^2.9.0",
"eslint-config-standard": "^5.3.1",
"eslint-plugin-promise": "^1.1.0",
Expand Down
8 changes: 4 additions & 4 deletions test/soundfont-player-test.js
Expand Up @@ -23,7 +23,7 @@ describe('Soundfont player', function () {
var ac = new AudioContext()
return Soundfont.instrument(ac, 'piano').then(function (piano) {
assert.equal(piano.url,
'http://gleitz.github.io/midi-js-soundfonts/MusyngKite/piano-mp3.js')
'https://gleitz.github.io/midi-js-soundfonts/MusyngKite/piano-mp3.js')
})
})
it('the promise resolve to an instrument', function () {
Expand All @@ -46,15 +46,15 @@ describe('Soundfont player', function () {
describe('Build urls', function () {
it('get default url', function () {
assert.equal(Soundfont.nameToUrl('marimba'),
'http://gleitz.github.io/midi-js-soundfonts/MusyngKite/marimba-mp3.js')
'https://gleitz.github.io/midi-js-soundfonts/MusyngKite/marimba-mp3.js')
})
it('get MusyngKite url', function () {
assert.equal(Soundfont.nameToUrl('marimba', 'FluidR3_GM'),
'http://gleitz.github.io/midi-js-soundfonts/FluidR3_GM/marimba-mp3.js')
'https://gleitz.github.io/midi-js-soundfonts/FluidR3_GM/marimba-mp3.js')
})
it('accepts ogg', function () {
assert.equal(Soundfont.nameToUrl('marimba', null, 'ogg'),
'http://gleitz.github.io/midi-js-soundfonts/MusyngKite/marimba-ogg.js')
'https://gleitz.github.io/midi-js-soundfonts/MusyngKite/marimba-ogg.js')
})
})
})

0 comments on commit f505a3c

Please sign in to comment.