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