2020-09-14 17:48:18 +03:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Mocha All tests",
|
|
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/mocha",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"args": [
|
|
|
|
"--require", "ts-node/register",
|
|
|
|
"-u", "bdd",
|
|
|
|
"--timeout", "999999",
|
|
|
|
"src/test/**/*.ts"
|
|
|
|
],
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Mocha Current File",
|
|
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/mocha",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"args": [
|
|
|
|
"--require", "ts-node/register",
|
|
|
|
"-u", "bdd",
|
|
|
|
"--timeout", "999999",
|
|
|
|
"${file}"
|
|
|
|
],
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch current TypeScript src",
|
|
|
|
"program": "${file}",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"outFiles": ["${workspaceFolder}/out/**/*.js"],
|
|
|
|
"preLaunchTask": "gulp: compile",
|
2020-10-30 03:39:51 +03:00
|
|
|
"sourceMaps": true
|
2020-09-14 17:48:18 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch current TypeScript src with CLI parameters",
|
|
|
|
"program": "${file}",
|
|
|
|
"args": [
|
|
|
|
"--environmentUrl", "https://davidjenD365-1.crm.dynamics.com",
|
|
|
|
// "--appId", "2c6d7c95-ff20-4305-b87c-b97eb8277cf5",
|
|
|
|
// "--clientSecret", "",
|
|
|
|
// "--tenantId", "abcb8015-6e91-4c5f-b2b2-edb38c721f87",
|
|
|
|
"--userName", "davidjen@davidjenD365.onmicrosoft.com",
|
|
|
|
"--password", "",
|
|
|
|
"--solutionFile", "src/test/data/emptySolution_0_1_0_0.zip"
|
|
|
|
],
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"outFiles": ["${workspaceFolder}/out/**/*.js"],
|
|
|
|
"preLaunchTask": "gulp: compile",
|
2020-10-30 03:39:51 +03:00
|
|
|
"sourceMaps": true
|
2020-09-14 17:48:18 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2023-01-11 21:37:56 +03:00
|
|
|
"name": "Gulp task - dist",
|
2020-09-14 17:48:18 +03:00
|
|
|
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"args": [
|
|
|
|
"dist"
|
|
|
|
],
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Action in dist",
|
|
|
|
"program": "${workspaceFolder}/dist/index.js",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"args": [
|
|
|
|
"dist"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"INPUT_ENVIRONMENT-URL": "abc",
|
|
|
|
"INPUT_user-name": "cde",
|
|
|
|
"INPUT_password-secret": "42",
|
|
|
|
"INPUT_solution-name": "foo"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|