ta
TanStack
OSS
ta
Pipelines
Nx runs
Insights
Compare tasks
Analytics
Sign in
Toggle Sidebar
qu
query
Pipelines
test(solid-query-devtools): stub devtools mount so the lazy UI import never starts The Test job failed post-merge with an EnvironmentTeardownError: mounting TanstackQueryDevtools(Panel) lazily imports the devtools UI, nothing in these synchronous tests awaits it, and on the slower CI agent the import was still in flight when vitest tore the environment down. Locally the import loses the race a different way: the UI chain pulls in @solid-primitives/transition-group, Solid 1 code that no longer resolves under this Solid 2 setup, surfacing as unhandled rejections. These tests only assert what the wrapper forwards to the instance, and the container element the style tests query is rendered by the wrapper itself, so mount() (and unmount(), which throws when nothing was really mounted) are stubbed in beforeEach. Rendered roots are now disposed via an explicit cleanup() before vi.restoreAllMocks(), because disposal calls unmount() and testing-library's automatic cleanup would otherwise run after the stub was already restored. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
nx affected --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build
⌘K
test(solid-query-devtools): stub devtools mount so the lazy UI import never starts
Succeeded
in
1m 18s
Started
Copy command
nx affected --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build
11174
d57771c
GitHub
Open on GitHub
Tasks
Resource Usage
ta
TanStack
OSS