Files
30-seconds-of-code/test/escapeHTML/escapeHTML.test.js
2018-01-09 06:09:49 -05:00

13 lines
489 B
JavaScript

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