Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('parses the dom for extra attributes', () => {
const node = fromHTML({
content: `<p data-run="${run}" title="${title}">hello</p>`,
schema,
});
const expected = doc(custom('hello'));
expect(node).toEqualProsemirrorNode(expected);
});