utils.spec.ts 244 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 import { cleanUpSvgCode } from './utils' describe('cleanUpSvgCode', () => { it('replaces old-style <br> tags with the new style', () => { const result = cleanUpSvgCode('<br>test<br>') expect(result).toEqual('<br/>test<br/>') }) })