test: added tests 🎉

This commit is contained in:
EvolutionX
2022-02-15 10:19:03 +05:30
parent 2d1e630d30
commit 7e319683e1
7 changed files with 8370 additions and 3 deletions

13
tests/functions.test.ts Normal file
View 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');
});
});