mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-01 14:38:48 +00:00
Fix failing unit test due to updated loggerService exports
This commit is contained in:
1 parent
115b9cc0b2
commit
a563bb13e9
1 file changed
+5
-3
@@ -7,9 +7,11 @@ import { loggerService } from '../../common/services/logger';
|
||||
|
||||
jest.mock('../../common/validation/permissionValidator');
|
||||
jest.mock('../../common/services/logger', () => ({
|
||||
child: jest.fn().mockReturnThis(),
|
||||
debug: jest.fn(),
|
||||
warn: jest.fn()
|
||||
loggerService: {
|
||||
child: jest.fn().mockReturnThis(),
|
||||
debug: jest.fn(),
|
||||
warn: jest.fn()
|
||||
}
|
||||
}));
|
||||
|
||||
describe('interactionCommandHandler', () => {
|
||||
|
||||
Reference in new issue
Block a user