Skip to content

Conversation

@setchy
Copy link
Member

@setchysetchy commented Nov 16, 2025

Significant refactor of tests to consistently

  • use renderWithAppContext (guarantees using primer theme and styles)
  • Naming of any mock objects or mock functions
  • Use defaults in test-utils where possible
  • clearer separation between mock files

@setchysetchy marked this pull request as draft November 16, 2025 20:25
@github-actionsgithub-actionsbot added the refactor Refactoring of existing feature label Nov 16, 2025
@setchysetchy changed the title refactor: tests to use custom renderWithAppContextrefactor: standardize use of renderWithAppContext and mocksNov 16, 2025
@setchysetchy marked this pull request as ready for review November 16, 2025 22:03
@sonarqubecloud
Copy link

@setchysetchy merged commit 36d4be8 into mainNov 16, 2025
14 checks passed
@setchysetchy deleted the test/util-render-app-context branch November 16, 2025 22:28
@github-actionsgithub-actionsbot added this to the Release 6.14.0 milestone Nov 16, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactorRefactoring of existing feature

Development

Successfully merging this pull request may close these issues.

2 participants

@setchy