mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 21:33:19 +00:00
fix(notifications): link admin emails to admin notification settings
This commit is contained in:
@@ -880,6 +880,11 @@ describe('useAdmin', () => {
|
||||
expect(result.current.activeTab).toBe('audit');
|
||||
});
|
||||
|
||||
it('opens the notifications tab from the admin email manage link', async () => {
|
||||
const { result } = await mountAdmin('/admin?tab=notifications');
|
||||
expect(result.current.activeTab).toBe('notifications');
|
||||
});
|
||||
|
||||
/*
|
||||
* A tab id with no panel behind it — a typo, or a link from an install that
|
||||
* has tabs this one does not — used to open the page on an empty content
|
||||
|
||||
Reference in New Issue
Block a user