diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index e4b9b656..476bf535 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -6765,7 +6765,7 @@ getJasmineRequireObj().interface = function(jasmine, env) { * Add custom async matchers for the current scope of specs. * * _Note:_ This is only callable from within a {@link beforeEach}, {@link it}, or {@link beforeAll}. - * @name jasmine.addMatchers + * @name jasmine.addAsyncMatchers * @since 3.5.0 * @function * @param {Object} matchers - Keys from this object will be the new async matcher names. diff --git a/src/core/requireInterface.js b/src/core/requireInterface.js index 091bb7a0..f8f15ac6 100644 --- a/src/core/requireInterface.js +++ b/src/core/requireInterface.js @@ -306,7 +306,7 @@ getJasmineRequireObj().interface = function(jasmine, env) { * Add custom async matchers for the current scope of specs. * * _Note:_ This is only callable from within a {@link beforeEach}, {@link it}, or {@link beforeAll}. - * @name jasmine.addMatchers + * @name jasmine.addAsyncMatchers * @since 3.5.0 * @function * @param {Object} matchers - Keys from this object will be the new async matcher names.