You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1c4bda6
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(tests): extract createGetAuthHeaders factory function
Extract the getAuthHeaders helper creation from getTestInstance into a
dedicated createGetAuthHeaders factory function. This completes the
decomposition of the large getTestInstance function.
Key changes:
- Created createGetAuthHeaders(auth, magicLinksStore) function
- Returns the async getAuthHeaders function
- Uses external magicLinksStore instead of auth._testMagicLinks
Fallow health improvement:
- getTestInstance reduced to ~20 lines (pure orchestration)
- Large function warning completely resolved
- All factory functions are independently testable
0 commit comments