Escape theme test locator regexp#27907
Conversation
The acceptance helper builds a case-insensitive regexp from theme names. Escaping the fixture value keeps the locator matching literally if a future theme name contains regexp metacharacters.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThis PR adds a local 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
Testing
pnpm --filter @tryghost/admin-x-settings exec eslint --cache test/acceptance/site/theme.test.ts