Files
30-seconds-of-code/test/findLastKey/findLastKey.test.js
2018-01-23 20:11:51 +00:00

13 lines
498 B
JavaScript

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