Add nodeListToArray

This commit is contained in:
Angelos Chalaris
2018-05-06 18:11:21 +03:00
parent f614e5e001
commit e8ecfc7085
5 changed files with 38 additions and 5 deletions

View File

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