Removed unused Mirage emails config#28638
Conversation
no ref The emails mock did not register any routes, so keeping it wired into the test Mirage setup only added dead code.
WalkthroughThis change removes the Mirage email mock fixture implementation from the admin test configuration. The 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run ghost-admin:test |
✅ Succeeded | 2m 39s | View ↗ |
nx run @tryghost/admin:build |
✅ Succeeded | 2m 6s | View ↗ |
nx run ghost:build:assets |
✅ Succeeded | 2s | View ↗ |
nx run ghost:build:tsc |
✅ Succeeded | 6s | View ↗ |
nx run-many -t lint -p ghost-admin |
✅ Succeeded | 19s | View ↗ |
nx run-many --target=build --projects=@tryghost... |
✅ Succeeded | <1s | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-06-17 17:03:32 UTC

Got some code for us? Awesome 🎊!
Please take a minute to explain the change you're making:
ghost/admin/mirage/config/emails.jshas been an empty Mirage config for around five years and does not register any routes. It is still imported and called from the test route setup, so removing it cleans up dead code without changing behavior.Please check your PR against these items:
We appreciate your contribution! 🙏