MCPcopy Create free account
hub / github.com/continuedev/continue / renderDialog

Function renderDialog

gui/src/components/dialogs/ConfirmationDialog.test.tsx:17–24  ·  view source on GitHub ↗
(props: any)

Source from the content-addressed store, hash-verified

15
16describe("ConfirmationDialog", () => {
17 const renderDialog = (props: any) => {
18 const store = createMockStore();
19 return render(
20 <Provider store={store}>
21 <ConfirmationDialog {...props} />
22 </Provider>,
23 );
24 };
25
26 it("renders with default props", () => {
27 const onConfirm = vi.fn();

Callers 1

Calls 1

createMockStoreFunction · 0.70

Tested by

no test coverage detected