Test React Applications with Cypress

Share this video with your friends

Send Tweet

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.

Aaron Sturm
~ 5 years ago

Instead of adding '/// <reference types="cypress"/>' at the top of each Cypress file, can it be added to the lib array in tsconfig.json?

Aaron Sturm
~ 5 years ago

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" />