From 8df7eae5341f65633d5dddd8866459aaa4569e8a Mon Sep 17 00:00:00 2001 From: Sergey Akkuratov Date: Thu, 30 May 2024 23:03:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=82=D0=B5=D1=81=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/weatherAppError.test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/weatherAppError.test.js b/src/weatherAppError.test.js index fc92b7b..371e4c0 100644 --- a/src/weatherAppError.test.js +++ b/src/weatherAppError.test.js @@ -11,6 +11,10 @@ jest.mock("./externalRequests", () => ({ })); describe("Weather application tests", () => { + beforeEach(() => { + global.PREFIX = ""; + }); + it("Error with getMap", async () => { // Моки exteranlApi.getWeather.mockReturnValue(weather.Moscow);