🐛 fix type collision between jest and mocha

This commit is contained in:
Nate Sesti 2024-06-19 14:31:57 -07:00
parent 7fc43c1aa4
commit e6a3fc903e
2 changed files with 4 additions and 3 deletions

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "0.9.162",
"version": "0.9.163",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "0.9.162",
"version": "0.9.163",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",

View file

@ -12,7 +12,8 @@
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
"resolveJsonModule": true /* Enable importing .json files */
"resolveJsonModule": true /* Enable importing .json files */,
"types": ["mocha"] // This solves conflict between jest and mocha: https://github.com/cypress-io/cypress/issues/7435#issuecomment-631695007
},
"include": ["src/**/*", "../../core/**/*.ts", "../../core/**/*.d.ts"],
// core/test uses @types/jest, which conflicts with @types/mocha