Additional tests
This commit is contained in:
@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user