interface
interface copied to clipboard
Refactor MetaTagInjector tests for clarity, efficiency & security 🧿
- Grouped test cases using
describeblocks 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