reinstate mocha tests
This commit is contained in:
parent
a852e63851
commit
515e1f5dd2
3 changed files with 26 additions and 11 deletions
28
extensions/vscode/package-lock.json
generated
28
extensions/vscode/package-lock.json
generated
|
|
@ -13,8 +13,6 @@
|
|||
"@continuedev/fetch": "^1.0.10",
|
||||
"@electron/rebuild": "^3.2.10",
|
||||
"@reduxjs/toolkit": "^1.9.3",
|
||||
"@types/node-fetch": "^2.6.11",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"@vscode/ripgrep": "^1.15.9",
|
||||
"axios": "^1.2.5",
|
||||
"core": "file:../../core",
|
||||
|
|
@ -69,9 +67,12 @@
|
|||
"@types/cors": "^2.8.17",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/follow-redirects": "^1.14.4",
|
||||
"@types/mocha": "^10.0.10",
|
||||
"@types/node": "16.x",
|
||||
"@types/node-fetch": "^2.6.12",
|
||||
"@types/react-dom": "^18.2.4",
|
||||
"@types/request": "^2.48.8",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@types/vscode": "1.70",
|
||||
"@types/ws": "^8.5.4",
|
||||
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
||||
|
|
@ -2526,6 +2527,13 @@
|
|||
"integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/mocha": {
|
||||
"version": "10.0.10",
|
||||
"resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.10.tgz",
|
||||
"integrity": "sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/ms": {
|
||||
"version": "0.7.34",
|
||||
"resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz",
|
||||
|
|
@ -2537,9 +2545,11 @@
|
|||
"integrity": "sha512-ia7V9a2FnhUFfetng4/sRPBMTwHZUkPFY736rb1cg9AgG7MZdR97q7/nLR9om+sq5f1la9C857E0l/nrI0RiFQ=="
|
||||
},
|
||||
"node_modules/@types/node-fetch": {
|
||||
"version": "2.6.11",
|
||||
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.11.tgz",
|
||||
"integrity": "sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==",
|
||||
"version": "2.6.12",
|
||||
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.12.tgz",
|
||||
"integrity": "sha512-8nneRWKCg3rMtF69nLQJnOYUcbafYeFSjqkw3jCRLsqkWFlHaoQrr5mXmofFGOx3DKn7UfmBMyov8ySvLRVldA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/node": "*",
|
||||
"form-data": "^4.0.0"
|
||||
|
|
@ -2696,9 +2706,11 @@
|
|||
"integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA=="
|
||||
},
|
||||
"node_modules/@types/uuid": {
|
||||
"version": "9.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.8.tgz",
|
||||
"integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA=="
|
||||
"version": "10.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz",
|
||||
"integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/vscode": {
|
||||
"version": "1.70.0",
|
||||
|
|
|
|||
|
|
@ -659,9 +659,12 @@
|
|||
"@types/cors": "^2.8.17",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/follow-redirects": "^1.14.4",
|
||||
"@types/mocha": "^10.0.10",
|
||||
"@types/node": "16.x",
|
||||
"@types/node-fetch": "^2.6.12",
|
||||
"@types/react-dom": "^18.2.4",
|
||||
"@types/request": "^2.48.8",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@types/vscode": "1.70",
|
||||
"@types/ws": "^8.5.4",
|
||||
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
||||
|
|
@ -683,8 +686,6 @@
|
|||
"@continuedev/fetch": "^1.0.10",
|
||||
"@electron/rebuild": "^3.2.10",
|
||||
"@reduxjs/toolkit": "^1.9.3",
|
||||
"@types/node-fetch": "^2.6.11",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"@vscode/ripgrep": "^1.15.9",
|
||||
"axios": "^1.2.5",
|
||||
"core": "file:../../core",
|
||||
|
|
|
|||
|
|
@ -9,9 +9,11 @@
|
|||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true
|
||||
"skipLibCheck": true,
|
||||
"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
|
||||
"exclude": [
|
||||
"../../core/dist/**/*",
|
||||
"../../core/**/*.test.ts",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue