Moja lekcja

 0    6 flashcards    salesforcesf
download mp3 print play test yourself
 
Question język polski Answer język polski
Jaka metoda w teście Jest w LWC pozwala na reset DOM?
start learning
afterEach()
What describes a single test the expected behavior of that function?
start learning
it block
How to create test component in Jest lwc test?
start learning
createElement("nazwa-komponentu", {funkcja z it)
how to add test element to the DOM?
start learning
appendChild (document. body. appendChild(element);)
Jak wyglądają asserty w lwc Jest?
start learning
expect eg expect(div. textContent). toBe("Hello, World!");
To ensure that your test waits for updates to complete before evaluating the result use
start learning
async resolve of promise

You must sign in to write a comment