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