refactor: update command tests to use require syntax and improve error handling
Deploy to NAS / deploy (push) Successful in 1m4s
Deploy to NAS / deploy (push) Successful in 1m4s
This commit is contained in:
@@ -19,7 +19,8 @@ jest.mock('discord.js', () => ({
|
||||
}),
|
||||
}));
|
||||
|
||||
const helpCommand = require('../../commands/help');
|
||||
const HelpCommand = require('../../commands/help').default;
|
||||
const helpCommand = new HelpCommand();
|
||||
|
||||
describe('Help Command', () => {
|
||||
describe('Command Structure', () => {
|
||||
|
||||
Reference in New Issue
Block a user