We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7a0a4f commit b20e655Copy full SHA for b20e655
webview-ui/src/components/chat/__tests__/ChatView.spec.tsx
@@ -281,9 +281,19 @@ const defaultProps: ChatViewProps = {
281
hideAnnouncement: () => {},
282
}
283
284
-const queryClient = new QueryClient()
+// kilocode_change, moved into renderChatView: const queryClient = new QueryClient()
285
286
const renderChatView = (props: Partial<ChatViewProps> = {}) => {
287
+ // kilocode_change start: test isolation
288
+ const queryClient = new QueryClient({
289
+ defaultOptions: {
290
+ queries: {
291
+ retry: false,
292
+ },
293
294
+ })
295
+ // kilocode_change end
296
+
297
return render(
298
<ExtensionStateContextProvider>
299
<QueryClientProvider client={queryClient}>
0 commit comments