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