style: Formatted 17 files & changes messageHelper util

This commit is contained in:
xxDeveloper
2022-04-07 22:37:40 +03:00
parent e21508ca4f
commit 988d7fa6d2
20 changed files with 1223 additions and 1116 deletions

View File

@@ -1,13 +1,13 @@
import { hasPrefix, fmt, isNotFromBot } 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 isNotFromBot).toBe('function');
});
import { hasPrefix, fmt, isFromBot } 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 isFromBot).toBe('function');
});
});