const expect = require('expect'); const isBrowserTabFocused = require('./isBrowserTabFocused.js'); test('isBrowserTabFocused is a Function', () => { expect(isBrowserTabFocused).toBeInstanceOf(Function); });