mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
fix test suite
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { hasPrefix, fmt, isBot } from '../src/handler/utilities/messageHelpers';
|
||||
import { hasPrefix, fmt, isNotFromBot } from '../src/handler/utilities/messageHelpers';
|
||||
describe('FUNCTIONS', () => {
|
||||
test('If hasPrefix is a function', () => {
|
||||
expect(typeof hasPrefix).toBe('function');
|
||||
@@ -7,7 +7,7 @@ describe('FUNCTIONS', () => {
|
||||
expect(typeof fmt).toBe('function');
|
||||
});
|
||||
test('if isBot is a function', () => {
|
||||
expect(typeof isBot).toBe('function');
|
||||
expect(typeof isNotFromBot).toBe('function');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user