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