Commit 62c56d0a authored by derek-knox's avatar derek-knox

Apply feedback - improved logic in spec

parent 795c8e55
......@@ -66,6 +66,7 @@ describe('Build Uneditable Token renderer helper', () => {
it('returns a 3-item array of tokens with the htmlBlockNode wrapped as a text token in the middle of block tokens', () => {
const result = buildUneditableHtmlAsTextTokens(htmlBlockNode);
expect(result[1].type).toBe('text');
expect(result[1].content).not.toMatch(/ data-tomark-pass /);
expect(result).toHaveLength(3);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment