Elffuss BraidHub

kikocis/continue public

reinstate mocha tests
Changeset05ef232b5c7a4506deda0dd774efc46e83941087a5a092620de46d6183abfca1
AuthorDallin Romney <dallinromney@gmail.com> · 2025-06-17 14:57 -07:00
CommitterDallin Romney <dallinromney@gmail.com> · 2025-06-17 14:57 -07:00
Parents68c98749bfc3

Browse the files at this changeset

3 files changed

modified extensions/vscode/package-lock.json +0 −0

Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.

modified extensions/vscode/package.json +3 −2
@@ -659,9 +659,12 @@
659659 "@types/cors": "^2.8.17",
660660 "@types/express": "^4.17.21",
661661 "@types/follow-redirects": "^1.14.4",
662+ "@types/mocha": "^10.0.10",
662663 "@types/node": "16.x",
664+ "@types/node-fetch": "^2.6.12",
663665 "@types/react-dom": "^18.2.4",
664666 "@types/request": "^2.48.8",
667+ "@types/uuid": "^10.0.0",
665668 "@types/vscode": "1.70",
666669 "@types/ws": "^8.5.4",
667670 "@typescript-eslint/eslint-plugin": "^5.45.0",
@@ -683,8 +686,6 @@
683686 "@continuedev/fetch": "^1.0.10",
684687 "@electron/rebuild": "^3.2.10",
685688 "@reduxjs/toolkit": "^1.9.3",
686- "@types/node-fetch": "^2.6.11",
687- "@types/uuid": "^9.0.8",
688689 "@vscode/ripgrep": "^1.15.9",
689690 "axios": "^1.2.5",
690691 "core": "file:../../core",
modified extensions/vscode/tsconfig.json +3 −1
@@ -9,9 +9,11 @@
99 "strict": true,
1010 "esModuleInterop": true,
1111 "resolveJsonModule": true,
12- "skipLibCheck": true
12+ "skipLibCheck": true,
13+ "types": ["mocha"] // This solves conflict between jest and mocha: https://github.com/cypress-io/cypress/issues/7435#issuecomment-631695007
1314 },
1415 "include": ["src/**/*", "../../core/**/*.ts", "../../core/**/*.d.ts"],
16+ // core/test uses @types/jest, which conflicts with @types/mocha
1517 "exclude": [
1618 "../../core/dist/**/*",
1719 "../../core/**/*.test.ts",