From a91db0dfc2e394255855207e65e8685d561c5a06 Mon Sep 17 00:00:00 2001 From: Gregg Van Hove Date: Mon, 22 Oct 2018 16:08:57 -0700 Subject: [PATCH] more rejected to -> rejected with --- lib/jasmine-core/jasmine.js | 2 +- src/core/AsyncExpectation.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index a3320b56..acbf610f 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -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 diff --git a/src/core/AsyncExpectation.js b/src/core/AsyncExpectation.js index 4b9e7ef0..e2d7d47f 100644 --- a/src/core/AsyncExpectation.js +++ b/src/core/AsyncExpectation.js @@ -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