mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +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/validation/permissionValidator');
|
||||||
jest.mock('../../common/services/logger', () => ({
|
jest.mock('../../common/services/logger', () => ({
|
||||||
child: jest.fn().mockReturnThis(),
|
loggerService: {
|
||||||
debug: jest.fn(),
|
child: jest.fn().mockReturnThis(),
|
||||||
warn: jest.fn()
|
debug: jest.fn(),
|
||||||
|
warn: jest.fn()
|
||||||
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
describe('interactionCommandHandler', () => {
|
describe('interactionCommandHandler', () => {
|
||||||
|
|||||||
Reference in new issue
Block a user