diff --git a/.vscode/launch.json b/.vscode/launch.json index f9cc458fdc..e66470435f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -33,6 +33,52 @@ "autoAttachChildProcesses": true, "outputCapture": "std", "console": "integratedTerminal", + }, + { + "args": [ + "--require", + "./test/utils/overrides.js", + "-u", + "bdd", + "--timeout", + "999999", + "--colors", + "./test/e2e-api/**/*.test.js" + ], + "cwd": "${workspaceFolder}/ghost/core", + "internalConsoleOptions": "openOnSessionStart", + "name": "E2E API Tests", + "program": "./node_modules/.bin/_mocha", + "request": "launch", + "skipFiles": [ + "/**" + ], + "env": { + "NODE_ENV": "testing-mysql" + }, + "type": "node" + }, + { + "args": [ + "-u", + "bdd", + "--timeout", + "999999", + "--colors", + "./test/**/*.test.js" + ], + "cwd": "${workspaceFolder}/ghost/email-service/", + "internalConsoleOptions": "openOnSessionStart", + "name": "Email Service Unit Tests", + "program": "./node_modules/.bin/_mocha", + "request": "launch", + "skipFiles": [ + "/**" + ], + "env": { + "NODE_ENV": "testing-mysql" + }, + "type": "node" } ] -} \ No newline at end of file +}