Update src/test/utils/overridesHelper.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
This commit is contained in:
ImperialSympathizer 2024-07-19 17:24:43 -04:00 committed by GitHub
parent d2874e29ac
commit 1e7c3b575f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;