DEV Community


Discussion on: Testing Web Components with Karma, Mocha & Chai

sinhapiyush profile image
Piyush Sinha Author

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 platform. Can you guide me on how to add syntax highlighting?

jfbrennan profile image
Jordan Brennan • Edited

Ah, updateComplete. Makes sense

Add javascript To the end of the first three backticks

Thread Thread
sinhapiyush profile image