Tests for prefix

This commit is contained in:
Angelos Chalaris
2018-11-07 15:21:43 +02:00
parent 80b42c56e5
commit b0f0de2bc6

View File

@ -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');
});