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 <noreply@anthropic.com>
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy