Skip to content

Commit dd38196

Browse files
committed
add comment explanation
1 parent 2821e45 commit dd38196

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
@@ -23,6 +23,8 @@ import { GAVersion } from "../../constants"
2323
// Capture original error global so it's easier to replace after a mock.
2424
const originalError = console.error
2525

26+
// Increase the timeout for this test suite. The userEvent.type calls can
27+
// be slow, and the default 5s timeout is not always enough.
2628
jest.setTimeout(10000)
2729
describe("for the Campaign URL Builder component", () => {
2830
beforeEach(() => {

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+
// Increase the timeout for this test suite. The userEvent.type calls can
27+
// be slow, and the default 5s timeout is not always enough.
2628
jest.setTimeout(10000)
2729

2830
describe("Event Builder", () => {

0 commit comments

Comments
 (0)