Use TypeScript With Cypress

1 · Gleb Bahmutov · Jan. 19, 2019, 5 a.m.
How to write Cypress.io end-to-end tests in TypeScript is a question that comes up again and again. Here is what you need to do step by step if you are using WebPack already. If you don't want to follow steps, just use bahmutov/add-typescript-to-cypress module.You can find the source code for this post in bahmutov/use-typescript-with-cypress repo.Install CypressIf you haven't already, install Cypress1npm install --save-dev cypressOpen Cypress for the first time - it will scaffold cypress folder ...