MCPcopy Create free account
hub / github.com/Tong89/smartNode / makeWrapper

Function makeWrapper

frontend/src/components/request-form.test.ts:46–61  ·  view source on GitHub ↗
(
  overrides: Partial<RequestFormData> = {},
  extraProps: Record<string, unknown> = {},
)

Source from the content-addressed store, hash-verified

44];
45
46function makeWrapper(
47 overrides: Partial<RequestFormData> = {},
48 extraProps: Record<string, unknown> = {},
49) {
50 return mount(RequestForm, {
51 props: {
52 visible: true,
53 modelValue: { ...defaultValue, ...overrides },
54 leoSatellites: mockSatellites,
55 groundStations: mockGroundStations,
56 dataTypeOptions,
57 submitting: false,
58 ...extraProps,
59 },
60 });
61}
62
63// ── Rendering ─────────────────────────────────────────────────────────────────
64

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected