Fixes to NodeJS version.

This commit is contained in:
2026-04-19 20:47:47 +02:00
parent aca4998da7
commit 176fa5ead2
28 changed files with 686 additions and 134 deletions

View File

@@ -32,10 +32,17 @@ describe("App", () => {
});
it("renders application heading", async () => {
const client = new QueryClient();
const client = new QueryClient({
defaultOptions: {
queries: {
retry: false,
gcTime: 0
}
}
});
const theme = createTheme();
render(
const view = render(
<QueryClientProvider client={client}>
<ThemeProvider theme={theme}>
<App />
@@ -44,5 +51,7 @@ describe("App", () => {
);
expect(await screen.findByText("Azure Image Chooser")).toBeInTheDocument();
view.unmount();
client.clear();
});
});