Skip to content

Commit 2821e45

Browse files
committed
increase jest timeout
1 parent 6ab5612 commit 2821e45

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/components/CampaignURLBuilder/index.spec.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ import { GAVersion } from "../../constants"
2222

2323
// Capture original error global so it's easier to replace after a mock.
2424
const originalError = console.error
25+
26+
jest.setTimeout(10000)
2527
describe("for the Campaign URL Builder component", () => {
2628
beforeEach(() => {
2729
process.env.BITLY_CLIENT_ID = "bitly-client-id"

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import { Label } from "./types"
2323
import userEvent from "@testing-library/user-event"
2424
import { within } from "@testing-library/react"
2525

26+
jest.setTimeout(10000)
27+
2628
describe("Event Builder", () => {
2729
test("can render page without error", () => {
2830
const { wrapped } = withProviders(<Sut />)

0 commit comments

Comments
 (0)