Renamed jasmine.exactly to jasmine.is, for similarity with toBe

This commit is contained in:
Steve Gravrock
2022-05-21 08:30:53 -07:00
parent 856a040a2d
commit 41f7fabe2f
6 changed files with 39 additions and 39 deletions

View File

@@ -287,12 +287,12 @@ getJasmineRequireObj().base = function(j$, jasmineGlobal) {
* Get an {@link AsymmetricEqualityTester}, usable in any {@link matchers|matcher}
* that passes if the actual value is the same as the sample as determined
* by the `===` operator.
* @name jasmine.exactly
* @name jasmine.is
* @function
* @param {Object} sample - The value to compare the actual to.
*/
j$.exactly = function(sample) {
return new j$.Exactly(sample);
j$.is = function(sample) {
return new j$.Is(sample);
};
/**