Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
SupaJoon committed Feb 27, 2024
1 parent baee031 commit 56eae27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/LogDrop/ParseLogSelect/ParseLogSelect.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Cookie from "js-cookie";
import { LogTypes } from "constants/enums";
import { LogRenderingTypes, LogTypes } from "constants/enums";
import { renderWithRouterMatch as render, screen, userEvent } from "test_utils";
import ParseLogSelect from ".";

Expand All @@ -24,7 +24,7 @@ describe("parse log select", () => {
});

it("defaults to 'Raw' option if cookie is set to evergreen logs", () => {
mockedGet.mockImplementation(() => LogTypes.EVERGREEN_TASK_LOGS);
mockedGet.mockImplementation(() => LogRenderingTypes.Default);
render(
<ParseLogSelect
fileName="filename.txt"
Expand All @@ -37,7 +37,7 @@ describe("parse log select", () => {
});

it("defaults to 'Resmoke' option if cookie is set to resmoke logs", () => {
mockedGet.mockImplementation(() => LogTypes.RESMOKE_LOGS);
mockedGet.mockImplementation(() => LogRenderingTypes.Resmoke);
render(
<ParseLogSelect
fileName="filename.txt"
Expand Down

0 comments on commit 56eae27

Please sign in to comment.