const expect = require('expect'); const detectDeviceType = require('./detectDeviceType.js'); test('detectDeviceType is a Function', () => { expect(detectDeviceType).toBeInstanceOf(Function); }); t.pass('Tested on 09/02/2018 by @chalarangelo');