feat: enable TypeScript for Cypress (#48701)

* feat: enable TypeScript for Cypress

* fix: run both js and ts in workflow
This commit is contained in:
Sem Bauke
2022-12-10 16:12:42 +01:00
committed by GitHub
parent da7b5d1de2
commit 12fd5c4d32
6 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
"noEmit": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"types": ["node", "jest", "@testing-library/jest-dom"]
"types": ["node", "jest", "@testing-library/jest-dom", "cypress"]
},
// since ts-node compiles ts on the fly and then uses node, it needs to
// compile the scripts to commonjs (or node will complain about the requires)