Browse Source
- basic-form: actually click submit button and verify fakeSubmitForm was called, instead of just asserting button exists - basic-form: import waitFor from @testing-library/react - analysis: assert '0 items' text after empty data loads instead of checking element that exists on initial render - Replace dynamic import with static import in 3 test files where mock factories don't reference file-level variables (analysis, basic-form, table-list); keep dynamic import in app.test.tsx where mock factory references mockHistory/mockQueryCurrentUser which aren't available during hoisted static import resolution Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>pull/11847/head
5 changed files with 17 additions and 16 deletions
Loading…
Reference in new issue