import { escapeHTML } from './html'; describe('escapeHTML', (): void => { it('escapes html sequences', () => { expect(escapeHTML(`'example'&"another/example"`)).toEqual( '<strong>'example'&"another/example"</strong>' ); }); });