Skip to content

Commit d193a9d

Browse files
author
Test User
committed
test regression fix
1 parent 5abdf87 commit d193a9d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

explorer/src/components/ContentView.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { render, screen } from "@testing-library/react";
2-
import { describe, expect, it } from "vitest";
2+
import { describe, expect, it, vi } from "vitest";
33
import { StoreProvider } from "../store/StoreContext";
44
import { devFixture } from "../store/devFixture";
55
import { ContentView } from "./ContentView";
66

77
function renderContent(path: string) {
88
return render(
99
<StoreProvider store={devFixture} schemaMismatch={null}>
10-
<ContentView path={path} />
10+
<ContentView path={path} onOpenElement={vi.fn()} />
1111
</StoreProvider>,
1212
);
1313
}

0 commit comments

Comments
 (0)