Skip to content

Commit

Permalink
Исправил тесты
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyAkkuratov committed May 30, 2024
1 parent 90ef5c0 commit 8df7eae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/weatherAppError.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jest.mock("./externalRequests", () => ({
}));

describe("Weather application tests", () => {
beforeEach(() => {
global.PREFIX = "";
});

it("Error with getMap", async () => {
// Моки
exteranlApi.getWeather.mockReturnValue(weather.Moscow);
Expand Down

0 comments on commit 8df7eae

Please sign in to comment.