import { escape } from './html' describe('HTML escape', () => { it('Should escape special characters', () => { expect(escape('I think this is good.')).toBe('I <b>think</b> this is good.') expect(escape('John "Johnny" Smith')).toBe('John "Johnny" Smith') }) })