Both works in the given scenario. Actually, I wanted to introduce a test fixture as well. By default, fixture awaits the el.updateComplete() which is not the case for document.createElement().
And I'm new to dev.to platform. Can you guide me on how to add syntax highlighting?
Both works in the given scenario. Actually, I wanted to introduce a test fixture as well. By default,
fixture
awaits theel.updateComplete()
which is not the case fordocument.createElement()
.And I'm new to
dev.to
platform. Can you guide me on how to add syntax highlighting?Ah, updateComplete. Makes sense
Add
javascript
To the end of the first three backticksThank You