mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-30 22:37:42 +02:00
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;
|
||
|
}
|
||
|
})
|
||
|
});
|