Skip to content

Commit 6f8bf6f

Browse files
gustavo-lolaBenevanio
authored andcommitted
test(frontend): fix authentication mock path in register side extended test
1 parent 29e9768 commit 6f8bf6f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

frontend/tests/unit/components/login/RegisterSide.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
22

33
import { fireEvent, render, screen, waitFor } from "@testing-library/react";
4-
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
4+
import { beforeEach, describe, expect, it, vi } from "vitest";
55

66
// =====================
77
// MOCKS
@@ -64,7 +64,6 @@ import RegisterSide from "@/components/login/RegisterSide";
6464
// TEST SUITE
6565
// =====================
6666
describe("RegisterSide", () => {
67-
const originalLocation = window.location;
6867

6968
beforeEach(() => {
7069
mockRegister.mockReset();

0 commit comments

Comments
 (0)