mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-04 19:55:06 -05:00
10 lines
228 B
JavaScript
10 lines
228 B
JavaScript
beforeEach(function() {
|
|
this.addMatchers({
|
|
toBePlaying: function(expectedSong) {
|
|
var player = this.actual;
|
|
return player.currentlyPlayingSong === expectedSong &&
|
|
player.isPlaying;
|
|
}
|
|
});
|
|
});
|