Additional tests

This commit is contained in:
Angelos Chalaris
2018-11-07 15:03:27 +02:00
parent 3fb91e74d2
commit 81c975289c
5 changed files with 29 additions and 7 deletions

View File

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