9 lines
408 B
JavaScript
9 lines
408 B
JavaScript
const expect = require('expect');
|
|
const unescapeHTML = require('./unescapeHTML.js');
|
|
|
|
test('Testing unescapeHTML', () => {
|
|
//For more information on all the methods supported by tape
|
|
//Please go to https://github.com/substack/tape
|
|
expect(typeof unescapeHTML === 'function').toBeTruthy();
|
|
expect(unescapeHTML('<a href="#">Me & you</a>')).toBe('<a href="#">Me & you</a>');
|
|
}); |