Files
30-seconds-of-code/test/getScrollPosition/getScrollPosition.test.js
2018-02-16 14:00:23 +02:00

15 lines
612 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.pass('Tested by @chalarangelo on 16/02/2018');
//t.deepEqual(getScrollPosition(args..), 'Expected');
//t.equal(getScrollPosition(args..), 'Expected');
//t.false(getScrollPosition(args..), 'Expected');
//t.throws(getScrollPosition(args..), 'Expected');
t.end();
});