MCPcopy Create free account
hub / github.com/bytebase/bytebase / Probe

Function Probe

frontend/src/react/hooks/useSheetStatement.test.tsx:31–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29const renderSnapshots = (props: Parameters<typeof useSheetStatement>[0]) => {
30 const snapshots: SheetStatementSnapshot[] = [];
31 const Probe = () => {
32 snapshots.push(useSheetStatement(props));
33 return null;
34 };
35 const result = render(<Probe />);
36 return { snapshots, rerender: () => result.rerender(<Probe />) };
37};

Callers

nothing calls this directly

Calls 1

useSheetStatementFunction · 0.90

Tested by

no test coverage detected