import createTestEditorWithSerializer from '../testing/createTestEditorWithSerializer'; const testImageUrl = 'data:image/svg+xml;utf8,some-icon-here'; describe('imagePlugin', () => { test('should preserve image ALT text on save', () => { const { toHtml, normalizeHtml } = createTestEditorWithSerializer({ html: ` Test `, plugins: [], }); expect(toHtml()).toBe(normalizeHtml(`

Test

`)); }); });