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

@@ -1,5 +1,5 @@
getJasmineRequireObj().Exactly = function(j$) {
class Exactly {
getJasmineRequireObj().Is = function(j$) {
class Is {
constructor(expected) {
this.expected_ = expected;
}
@@ -9,9 +9,9 @@ getJasmineRequireObj().Exactly = function(j$) {
}
jasmineToString(pp) {
return `<jasmine.exactly(${pp(this.expected_)})>`;
return `<jasmine.is(${pp(this.expected_)})>`;
}
}
return Exactly;
return Is;
};