Skip to content

chore: Fix flaky TS tests #948

chore: Fix flaky TS tests

chore: Fix flaky TS tests #948

Re-run triggered October 21, 2024 15:54
Status Failure
Total duration 1m 19s
Artifacts

ts_test.yml

on: pull_request
List packages
3s
List packages
List examples
6s
List examples
Matrix: Build and test
Matrix: check_packages
Matrix: check_and_build_examples
Fit to window
Zoom out
Zoom in

Annotations

2 errors
test/react-hooks.test.tsx > useShape > should keep the state value in sync: packages/react-hooks/test/react-hooks.test.tsx#L124
AssertionError: expected [ { …(2) } ] to deeply equal [ { …(2) }, { …(2) } ] Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> - Expected + Received Array [ Object { "id": "cfac03da-dc7c-4591-9f3a-2409f6db8951", "title": "test row", }, - Object { - "id": "a88961a6-560e-4587-a5a3-d0ddb7749a4c", - "title": "other row", - }, ] ❯ waitFor.timeout test/react-hooks.test.tsx:124:37 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
Build and test (packages/react-hooks)
Process completed with exit code 1.