Skip to content

Commit

Permalink
update test case per refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Jan 6, 2024
1 parent c78ba1e commit 0d6be88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cases/jsx-shadow-dom/jsx-shadow-dom.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('Run WCC For ', function() {
const wrapper = new JSDOM(heading.innerHTML);
const button = wrapper.window.document.querySelector('button');

expect(button.getAttribute('onclick')).to.be.equal('this.parentElement.parentNode.host.sayHello()');
expect(button.getAttribute('onclick')).to.be.equal('this.getRootNode().host.sayHello()');
});
});

Expand Down

0 comments on commit 0d6be88

Please sign in to comment.