Cypress is an E2E testing tool designed specifically to be easy to use for frontend developers. In this lesson we test the functionality of a React application using Cypress.
Instead of adding '/// <reference types="cypress"/>' at the top of each Cypress file, can it be added to the lib array in tsconfig.json?
Instead of adding '/// <reference types="cypress"/>' at the top of each Cypress file, can it be added to the lib array in tsconfig.json?
Apparently I can't add brackets in comments. Maybe try a code block?
/// <reference types="cypress" />