Skip to content

Ebazhanov/cypress-typescript-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress with TypeScript

From Released 4/13/2020

"TypeScript test files are now supported without using special preprocessors plugins."

How to create your own TS template

  • $ yarn init -y
  • $ yarn add cypress --dev
  • $ yarn add typescript --dev
  • $ yarn add @bahmutov/add-typescript-to-cypress --dev (install TypeScript support )
  • $ yarn add webpack --dev
  • pls manually exchange format *.js to *.ts of files: intergartion/test.spec.ts and support/commands.ts

Usage:

  • $ yarn cypress open

Reference link:

Releases

No releases published

Packages

No packages published