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