Fixed test failure in Safari 8
This commit is contained in:
@@ -90,7 +90,7 @@ describe('SpyStrategy', function() {
|
|||||||
|
|
||||||
expect(function() {
|
expect(function() {
|
||||||
spyStrategy.exec();
|
spyStrategy.exec();
|
||||||
}).toThrow({ code: 'ESRCH' });
|
}).toThrow(jasmine.objectContaining({ code: 'ESRCH' }));
|
||||||
expect(originalFn).not.toHaveBeenCalled();
|
expect(originalFn).not.toHaveBeenCalled();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user