1057596665
Generate jasmine-standalone-x.x.x.zip.
10 lines
223 B
JavaScript
10 lines
223 B
JavaScript
beforeEach(function() {
|
|
this.addMatchers({
|
|
toBePlaying: function(expectedSong) {
|
|
var player = this.actual;
|
|
return player.currentlyPlayingSong === expectedSong
|
|
&& player.isPlaying;
|
|
}
|
|
})
|
|
});
|