refactor: update command tests to use require syntax and improve error handling
Deploy to NAS / deploy (push) Successful in 1m4s

This commit is contained in:
2025-12-25 10:28:44 -05:00
parent b362a43886
commit 06ac40a6d7
7 changed files with 33 additions and 25 deletions
+2 -1
View File
@@ -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', () => {