js-testing-introduction
js-testing-introduction copied to clipboard
JavaScript testing (unit tests, integration tests, e2e tests) introduction repo - belongs to this tutorial: https://academind.com/learn/javascript/javascript-testing-introduction
I follow your great youtube tutorials and I encounter an error on the Puppeteer part. Execution context was destroyed, most likely because of a navigation. await page.click('input#name');
Added `expect.assertions(1)` and `return promise` from test case. **Below notes taken from "Jest docs"** > expect.assertions(number) verifies that a certain number of assertions are called during a test. This is...