Update clock not installed message to reflect current boot installation process
This commit is contained in:
@@ -932,7 +932,7 @@ getJasmineRequireObj().Clock = function() {
|
||||
if (installed) {
|
||||
delayedFunctionScheduler.tick(millis);
|
||||
} else {
|
||||
throw new Error("Mock clock is not installed, use jasmine.getEnv().clock.install()");
|
||||
throw new Error("Mock clock is not installed, use jasmine.clock().install()");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ getJasmineRequireObj().Clock = function() {
|
||||
if (installed) {
|
||||
delayedFunctionScheduler.tick(millis);
|
||||
} else {
|
||||
throw new Error("Mock clock is not installed, use jasmine.getEnv().clock.install()");
|
||||
throw new Error("Mock clock is not installed, use jasmine.clock().install()");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user