Files
30-seconds-of-code/test/fuzzySearch/fuzzySearch.test.js
2018-02-17 21:52:36 +05:30

13 lines
506 B
JavaScript

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