import rehypePrism from 'rehype-prism-plus'; import type { PluggableList } from 'unified'; import { htmlEncode, processHtml } from '../utils'; it.each([ '```html\n
\n```', '${htmlEncode(value)}`, plugins);
expect(container.querySelector('code')?.textContent).toBe(value);
expect(container.querySelector('code > div')).toBeNull();
}
});