const example = '
@dwmatiz https://social.heldscal.la/attachment/159853
' import { removeAttachmentLinks } from '../../../../../src/services/status_parser/status_parser.js' describe('statusParser.removeAttachmentLinks', () => { const exampleWithoutAttachmentLinks = '
@dwmatiz
' it('removes attachment links', () => { const parsed = removeAttachmentLinks(example) expect(parsed).to.eql(exampleWithoutAttachmentLinks) }) it('works when the class is empty', () => { const parsed = removeAttachmentLinks('') expect(parsed).to.eql('') }) })