ran npm run tdd & generated TDD
This commit is contained in:
13
test/getScrollPosition/getScrollPosition.test.js
Normal file
13
test/getScrollPosition/getScrollPosition.test.js
Normal file
@ -0,0 +1,13 @@
|
||||
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();
|
||||
});
|
||||
Reference in New Issue
Block a user