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

15 lines
477 B
JavaScript

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