Travis build: 1770 [cron]
This commit is contained in:
13
test/smoothScroll/smoothScroll.test.js
Normal file
13
test/smoothScroll/smoothScroll.test.js
Normal file
@ -0,0 +1,13 @@
|
||||
const test = require('tape');
|
||||
const smoothScroll = require('./smoothScroll.js');
|
||||
|
||||
test('Testing smoothScroll', (t) => {
|
||||
//For more information on all the methods supported by tape
|
||||
//Please go to https://github.com/substack/tape
|
||||
t.true(typeof smoothScroll === 'function', 'smoothScroll is a Function');
|
||||
//t.deepEqual(smoothScroll(args..), 'Expected');
|
||||
//t.equal(smoothScroll(args..), 'Expected');
|
||||
//t.false(smoothScroll(args..), 'Expected');
|
||||
//t.throws(smoothScroll(args..), 'Expected');
|
||||
t.end();
|
||||
});
|
||||
Reference in New Issue
Block a user