@@ -13,7 +13,7 @@ getJasmineRequireObj().toBeRejected = function(j$) {
|
||||
return function toBeRejected() {
|
||||
return {
|
||||
compare: function(actual) {
|
||||
if (!j$.isPromiseLike(actual)) {
|
||||
if (!j$.private.isPromiseLike(actual)) {
|
||||
throw new Error(
|
||||
`Expected toBeRejected to be called on a promise but was on a ${typeof actual}.`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user