Additional tests

This commit is contained in:
Angelos Chalaris
2018-11-01 14:47:28 +02:00
parent a097c3de36
commit 7f019cf3ed
4 changed files with 12 additions and 0 deletions

View File

@ -4,3 +4,6 @@ const {isBrowser} = require('./_30s.js');
test('isBrowser is a Function', () => {
expect(isBrowser).toBeInstanceOf(Function);
});
test('isBrowser is a Function', () => {
expect(typeof isBrowser()).toBe('boolean');
});