Files
30-seconds-of-code/test/getScrollPosition/getScrollPosition.test.js
2018-01-09 06:09:49 -05:00

13 lines
552 B
JavaScript

const test = require('tape');
const getScrollPosition = require('./getScrollPosition.js');
test('Testing getScrollPosition', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof getScrollPosition === 'function', 'getScrollPosition is a Function');
//t.deepEqual(getScrollPosition(args..), 'Expected');
//t.equal(getScrollPosition(args..), 'Expected');
//t.false(getScrollPosition(args..), 'Expected');
//t.throws(getScrollPosition(args..), 'Expected');
t.end();
});