mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat: enable TypeScript for Cypress (#48701)
* feat: enable TypeScript for Cypress * fix: run both js and ts in workflow
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user