feat: base shortcut code
This commit is contained in:
11
utils/commands/ping.test.ts
Normal file
11
utils/commands/ping.test.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { pingCommand } from './ping';
|
||||
|
||||
describe('Ping Command', () => {
|
||||
it('should return success response', async () => {
|
||||
const response = await pingCommand();
|
||||
|
||||
expect(response.success).toBe(true);
|
||||
expect(response.message).toBe('The system is operational.');
|
||||
expect(response.data).toHaveProperty('timestamp');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user