We fixed the test:types failure by giving the act() callback in the unmount test a block body. Preact's act requires a callback returning void | Promise<void>, and () => view.unmount() implicitly returned a boolean, which caused TS2322. With the block body, our code type-checks and the unmount test behaves the same.
This code change can't be applied
A fix is available, but it can't be applied automatically because the branch is outdated. Please sync the branch, then apply the fix locally below.
Self-Healing CI
Classification: Code change needed
Fix generated
Verified 1 task
Commit"chore(preact-table): return void from act callback in unmount test"
The AI model provider was experiencing issues when this fix was generated.
1 file changed
+3/−1