updates on the logic on the skills and settings tab
This commit is contained in:
@@ -36,6 +36,8 @@ jest.mock('@/api/doormile', () => {
|
||||
});
|
||||
|
||||
jest.mock('@/api/doormile/notify', () => ({ OpenToast: jest.fn() }));
|
||||
const mockAuth = { user: { email: 'admin@doormile.com', role: 'admin' }, isClient: false };
|
||||
jest.mock('@/lib/AuthContext', () => ({ useAuth: () => mockAuth }));
|
||||
|
||||
const api = require('@/api/doormile');
|
||||
const { OpenToast } = require('@/api/doormile/notify');
|
||||
|
||||
Reference in New Issue
Block a user