Tests for prefix
This commit is contained in:
@ -4,3 +4,6 @@ const {prefix} = require('./_30s.js');
|
|||||||
test('prefix is a Function', () => {
|
test('prefix is a Function', () => {
|
||||||
expect(prefix).toBeInstanceOf(Function);
|
expect(prefix).toBeInstanceOf(Function);
|
||||||
});
|
});
|
||||||
|
test('prefix is a Function', () => {
|
||||||
|
expect(typeof prefix('appearance')).toBe('string');
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user