Use jasmine.addMatchers instead of reaching through jasmine.Expectation [finishes #59518946]
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
jasmine.Expectation.addMatchers({
|
jasmine.addMatchers({
|
||||||
toBePlaying: function () {
|
toBePlaying: function () {
|
||||||
return {
|
return {
|
||||||
compare: function (actual, expected) {
|
compare: function (actual, expected) {
|
||||||
|
|||||||
Reference in New Issue
Block a user