Renamed jasmine.exactly to jasmine.is, for similarity with toBe
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user