This commit is contained in:
Henry Jameson 2026-08-04 18:29:35 +03:00
commit 665849615c
7 changed files with 10 additions and 16 deletions

View file

@ -363,7 +363,7 @@ describe('RichContent', () => {
})
expect(
wrapper.html().replaceAll('\n', '').replaceAll('<!--.*?-->', ''),
wrapper.html().replaceAll('\n', '').replaceAll(/<!--.*?-->/g, ''),
).to.eql(compwrap(expected))
})
@ -433,7 +433,7 @@ describe('RichContent', () => {
})
expect(
wrapper.html().replaceAll('\n', '').replaceAll('<!--.*?-->', ''),
wrapper.html().replaceAll('\n', '').replaceAll(/<!--.*?-->/g, ''),
).to.eql(compwrap(expected))
})