Travis build: 1323 [cron]

This commit is contained in:
30secondsofcode
2018-01-19 20:10:17 +00:00
parent 17abe97036
commit ad0bcbd70a
20 changed files with 309 additions and 96 deletions

5
test/omitBy/omitBy.js Normal file
View File

@ -0,0 +1,5 @@
const omitBy = (obj, fn) =>
Object.keys(obj)
.filter(k => !fn(obj[k], k))
.reduce((acc, key) => ((acc[key] = obj[key]), acc), {});
module.exports = omitBy

View File

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