more rejected to -> rejected with

This commit is contained in:
Gregg Van Hove
2018-10-22 16:08:57 -07:00
parent 1d130036f4
commit a91db0dfc2
2 changed files with 2 additions and 2 deletions

View File

@@ -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 * @function
* @async * @async
* @name async-matchers#toBeRejectedWith * @name async-matchers#toBeRejectedWith

View File

@@ -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 * @function
* @async * @async
* @name async-matchers#toBeRejectedWith * @name async-matchers#toBeRejectedWith