Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/community-web/src/features/host/console-app.dom.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import { renderConsole } from "@/components/console/__testing__/harness"
import { useUiStore } from "@/store/ui-store"
import { ConsoleApp } from "./console-app"
import { ORG_INVITE_TOKEN_STASH_KEY } from "./org/org-invites"
// OrgScreen is the heaviest React.lazy screen; loading it cold inside a findBy window can outrun the
// 1 s default on a busy CI runner. Loading it here keeps each test independent of which ran first.
import "./org/org-screen"

const ORG_ID = "11111111-1111-4111-8111-111111111111"
const TOKEN = "abcdefghijklmnopqrstuvwxyz0123456789ABCD"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ import { ConsoleApp } from "../console-app"
import { ConsoleNavigationProvider } from "../console-context"
import { CreateOrgScreen } from "./create-org-screen"
import { OrgProfileForm, socialLinksFromDraft, EMPTY_ORG_DRAFT } from "./org-profile-form"
// ConsoleApp mounts OrgScreen through React.lazy; loading its module graph cold inside a findBy
// window outran the 1 s default on a busy CI runner. Loading it here makes the lazy import instant.
import "./org-screen"

const ORG_ID = "11111111-1111-4111-8111-111111111111"

Expand Down
Loading