Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pablocattaneo/bdee978914d9cd960399847aefae82b5 to your computer and use it in GitHub Desktop.
Save pablocattaneo/bdee978914d9cd960399847aefae82b5 to your computer and use it in GitHub Desktop.
// source: https://docs.cypress.io/guides/tooling/IDE-integration#Triple-slash-directives
//The simplest way to see IntelliSense when typing a Cypress command or assertion is to add a triple-slash directive to the head of your JavaScript or TypeScript testing file. This will turn the IntelliSense on a per file basis. Copy the comment line below and paste it into your spec file.
/// <reference types="Cypress" />
//your code....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment