Skip to content

Commit 5060fa3

Browse files
f0sselclaude
andcommitted
fix: provide required QueryClient parameter to renderEditorPage
Fix TypeScript error by passing createTestQueryClient() to renderEditorPage function call in the registry link test, matching the pattern used by other tests in the file. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent cdea8c6 commit 5060fa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/pages/TemplateVersionEditorPage/TemplateVersionEditorPage.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ describe.each([
335335
);
336336

337337
test("displays registry link in template editor topbar", async () => {
338-
renderEditorPage();
338+
renderEditorPage(createTestQueryClient());
339339
await waitForLoaderToBeRemoved();
340340

341341
const registryLink = screen.getByRole("link", {

0 commit comments

Comments
 (0)