Travis build: 1358 [cron]

This commit is contained in:
30secondsofcode
2018-01-23 20:11:51 +00:00
parent 7999ad6271
commit ac8f842b93
30 changed files with 509 additions and 36 deletions

2
test/isEmpty/isEmpty.js Normal file
View File

@ -0,0 +1,2 @@
const isEmpty = val => val == null || !(Object.keys(val) || val).length;
module.exports = isEmpty

View File

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