Skip to content

Commit 4ee9230

Browse files
committed
fix linting errors
1 parent a7c7d91 commit 4ee9230

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/ga4/EventBuilder/ValidateEvent/index.spec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import React from "react"
22
import { render, screen, fireEvent, within } from "@testing-library/react"
33
import "@testing-library/jest-dom"
4-
54
import ValidateEvent, { ValidateEventProps } from "."
65
import { EventCtx, EventPayload } from ".."
6+
import useValidateEvent from "./useValidateEvent"
7+
import { EventType } from "../types"
78

89
// Mock the useValidateEvent hook. This allows us to control its output and check if it's called correctly.
910
jest.mock("./useValidateEvent", () => ({
1011
__esModule: true,
1112
default: jest.fn(),
1213
}))
13-
import useValidateEvent from "./useValidateEvent"
14-
import { EventType } from "../types"
14+
1515
const mockedUseValidateEvent = useValidateEvent as jest.Mock
1616

1717
// Mock child components that are not relevant to this test.

0 commit comments

Comments
 (0)