Update src/test/utils/overridesHelper.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
This commit is contained in:
parent
d2874e29ac
commit
1e7c3b575f
|
@ -76,7 +76,7 @@ export class OverridesHelper {
|
|||
* @param type weather type to set
|
||||
* @returns spy instance
|
||||
*/
|
||||
weather(type: WeatherType): MockInstance {
|
||||
weather(type: WeatherType) {
|
||||
const spy = vi.spyOn(Overrides, "WEATHER_OVERRIDE", "get").mockReturnValue(type);
|
||||
this.log(`Weather set to ${Weather[type]} (=${type})!`);
|
||||
return spy;
|
||||
|
|
Loading…
Reference in New Issue