Moja lekcja

 0    6 tarjetas    salesforcesf
descargar mp3 imprimir jugar test de práctica
 
término język polski definición język polski
Jaka metoda w teście Jest w LWC pozwala na reset DOM?
empezar lección
afterEach()
What describes a single test the expected behavior of that function?
empezar lección
it block
How to create test component in Jest lwc test?
empezar lección
createElement("nazwa-komponentu", {funkcja z it)
how to add test element to the DOM?
empezar lección
appendChild (document. body. appendChild(element);)
Jak wyglądają asserty w lwc Jest?
empezar lección
expect eg expect(div. textContent). toBe("Hello, World!");
To ensure that your test waits for updates to complete before evaluating the result use
empezar lección
async resolve of promise

Debes iniciar sesión para poder comentar.