comparison src/DML/VendorAssetsBundle/Resources/assets/jasmine/2.1.3/spec/SpecHelper.js @ 0:493bcb69166c

added public content
author Daniel Wolff
date Tue, 09 Feb 2016 20:54:02 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:493bcb69166c
1 beforeEach(function () {
2 jasmine.addMatchers({
3 toBePlaying: function () {
4 return {
5 compare: function (actual, expected) {
6 var player = actual;
7
8 return {
9 pass: player.currentlyPlayingSong === expected && player.isPlaying
10 }
11 }
12 };
13 }
14 });
15 });