Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(ci): refresh pnpm-lock.yaml + name test wrapper after #2665 (#2667)

Bohan Jiang9b6b8f587785
diff --git a/packages/core/realtime/use-realtime-sync-ws-instance.test.tsx b/packages/core/realtime/use-realtime-sync-ws-instance.test.tsx
index 9da9f59053..dc9ccaf318 100644
--- a/packages/core/realtime/use-realtime-sync-ws-instance.test.tsx
+++ b/packages/core/realtime/use-realtime-sync-ws-instance.test.tsx
@@ -38,9 +38,11 @@ function createStores(): RealtimeSyncStores {
}
function createWrapper(qc: QueryClient) {
- return ({ children }: { children: ReactNode }) => (
- <QueryClientProvider client={qc}>{children}</QueryClientProvider>
- );
+ // Named function (not arrow) so react/display-name lint rule passes —
+ // anonymous render-fn components break that rule even in test files.
+ return function Wrapper({ children }: { children: ReactNode }) {
+ return <QueryClientProvider client={qc}>{children}</QueryClientProvider>;
+ };
}
describe("useRealtimeSync — ws instance change", () => {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 80b3abe07a..a5a5eaf042 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -510,9 +510,6 @@ importers:
posthog-js:
specifier: 'catalog:'
version: 1.369.3
- react:
- specifier: 'catalog:'
- version: 19.2.3
react-i18next:
specifier: 'catalog:'
@@ -526,12 +523,21 @@ importers:
'@multica/tsconfig':
specifier: workspace:*
version: link:../tsconfig
+ '@testing-library/react':
+ specifier: 'catalog:'
'@types/react':
specifier: ^19.2.0
version: 19.2.14
jsdom:
specifier: 'catalog:'
version: 29.0.1(@noble/[email protected])
+ react:
+ specifier: 'catalog:'
+ version: 19.2.3
+ react-dom:
+ specifier: 'catalog:'
+ version: 19.2.3([email protected])
typescript:
specifier: 'catalog:'
version: 5.9.3