Chapter 2 - Writing the First Test in Cypress

links: TodoMVC

This tells VS Code which package to use for autocompletion

/// <reference types="cypress" />

Mocha - built-in test runner for Cypress.

/// <reference types="cypress" />
it("should navigate to TodoMVC App", () => {
  cy.visit("http://todomvc-app-for-testing.surge.sh/fake");
});

// to run the test: npx cypress open