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

15 lines
585 B
JavaScript

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