|
9 | 9 | "preLaunchTask": "func: host start" |
10 | 10 | }, |
11 | 11 | { |
12 | | - "name": "Unit test current file", |
| 12 | + "name": "[ajv-openapi-request-response-validator] Unit test current file", |
13 | 13 | "type": "node", |
14 | 14 | "request": "launch", |
| 15 | + "cwd": "${workspaceFolder}/packages/ajv-openapi-request-response-validator", |
15 | 16 | "program": "${workspaceFolder}/node_modules/jest/bin/jest", |
16 | | - "args": ["${relativeFile}", "--config", "${workspaceFolder}/jest.config.js", "--testTimeout", "300000", "--no-cache", "--runInBand", "--detectOpenHandles"], |
| 17 | + "args": ["${relativeFile}", "--config", "./jest.debug.config.js", "--testTimeout", "300000", "--no-cache", "--runInBand", "--detectOpenHandles"], |
17 | 18 | "internalConsoleOptions": "openOnSessionStart", |
18 | 19 | "sourceMaps": true, |
19 | | - "outFiles": ["${workspaceFolder}/dist/**/*.js"], |
| 20 | + "outFiles": ["./dist/**/*.js"], |
| 21 | + "outputCapture": "std", |
| 22 | + "smartStep": true, |
| 23 | + "skipFiles": [ |
| 24 | + "<node_internals>/**", |
| 25 | + "node_modules/**" |
| 26 | + ], |
| 27 | + "resolveSourceMapLocations": [ |
| 28 | + "${workspaceFolder}/**", |
| 29 | + "!**/node_modules/**" |
| 30 | + ] |
| 31 | + }, |
| 32 | + { |
| 33 | + "name": "[azure-functions-openapi-validator] Unit test current file", |
| 34 | + "type": "node", |
| 35 | + "request": "launch", |
| 36 | + "cwd": "${workspaceFolder}/packages/azure-functions-openapi-validator", |
| 37 | + "program": "${workspaceFolder}/node_modules/jest/bin/jest", |
| 38 | + "args": ["${relativeFile}", "--config", "./jest.debug.config.js", "--testTimeout", "300000", "--no-cache", "--runInBand", "--detectOpenHandles"], |
| 39 | + "internalConsoleOptions": "openOnSessionStart", |
| 40 | + "sourceMaps": true, |
| 41 | + "outFiles": ["./dist/**/*.js"], |
20 | 42 | "outputCapture": "std", |
21 | 43 | "smartStep": true, |
22 | 44 | "skipFiles": [ |
|
0 commit comments