more rejected to -> rejected with
This commit is contained in:
@@ -2287,7 +2287,7 @@ getJasmineRequireObj().AsyncExpectation = function(j$) {
|
||||
};
|
||||
|
||||
/**
|
||||
* Expect a promise to be rejected to a value equal to the expected, using deep equality comparison.
|
||||
* Expect a promise to be rejected with a value equal to the expected, using deep equality comparison.
|
||||
* @function
|
||||
* @async
|
||||
* @name async-matchers#toBeRejectedWith
|
||||
|
||||
@@ -141,7 +141,7 @@ getJasmineRequireObj().AsyncExpectation = function(j$) {
|
||||
};
|
||||
|
||||
/**
|
||||
* Expect a promise to be rejected to a value equal to the expected, using deep equality comparison.
|
||||
* Expect a promise to be rejected with a value equal to the expected, using deep equality comparison.
|
||||
* @function
|
||||
* @async
|
||||
* @name async-matchers#toBeRejectedWith
|
||||
|
||||
Reference in New Issue
Block a user