Skip to content

Refactor MetaTagInjector tests for clarity, efficiency & security 🧿#7895

Open
Krishprajapati15 wants to merge 1 commit intoUniswap:mainfrom
Krishprajapati15:main
Open

Refactor MetaTagInjector tests for clarity, efficiency & security 🧿#7895
Krishprajapati15 wants to merge 1 commit intoUniswap:mainfrom
Krishprajapati15:main

Conversation

@Krishprajapati15
Copy link

  • Grouped test cases using describe blocks for better structure
  • DRYed up setup with shared beforeEach
  • Improved assertion clarity and coverage
  • Added XSS protection test to ensure meta content is safe
  • Ensured append call count matches expected tags
  • Enhanced readability and maintainability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant