Files
30-seconds-of-code/test/defer/defer.test.js
2018-02-16 14:00:23 +02:00

15 lines
504 B
JavaScript

const test = require('tape');
const defer = require('./defer.js');
test('Testing defer', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof defer === 'function', 'defer is a Function');
t.pass('Tested by @chalarangelo on 16/02/2018');
//t.deepEqual(defer(args..), 'Expected');
//t.equal(defer(args..), 'Expected');
//t.false(defer(args..), 'Expected');
//t.throws(defer(args..), 'Expected');
t.end();
});