Skip to content

Commit

Permalink
tests/scriptlets/remove-node-text.test.js edited online with Bitbucket
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka authored and jellizaveta committed Oct 11, 2024
1 parent aa5de55 commit a06b6e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/scriptlets/remove-node-text.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ test('case with parent selector option and #text node', (assert) => {
appendChildren(document.body, parentElement, textNode);

assert.strictEqual(textNode.nodeValue, text, 'Text node should contain correct text');
assert.strictEqual(textNode.secondTextNode, text, 'Second text node should contain correct text');

runScriptlet(name, ['#text', 'content!', 'body']);

Expand Down

0 comments on commit a06b6e3

Please sign in to comment.