mirror of
https://github.com/sern-handler/handler
synced 2026-06-28 02:32:15 +00:00
test: added tests 🎉
This commit is contained in:
13
tests/functions.test.ts
Normal file
13
tests/functions.test.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { hasPrefix, fmt, isBot } from '../src/handler/utilities/messageHelpers';
|
||||
describe('FUNCTIONS', () => {
|
||||
test('If hasPrefix is a function', () => {
|
||||
expect(typeof hasPrefix).toBe('function');
|
||||
});
|
||||
test('if fmt is a function', () => {
|
||||
expect(typeof fmt).toBe('function');
|
||||
});
|
||||
test('if isBot is a function', () => {
|
||||
expect(typeof isBot).toBe('function');
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user