Skip to content

Commit

Permalink
test: fix vscode launch configuration for windows (#1523)
Browse files Browse the repository at this point in the history
  • Loading branch information
armano2 authored and bradzacher committed Jan 26, 2020
1 parent f991764 commit 03221d2
Showing 1 changed file with 80 additions and 64 deletions.
144 changes: 80 additions & 64 deletions .vscode/launch.json
Expand Up @@ -4,69 +4,85 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"type": "node", "type": "node",
"request": "launch", "request": "launch",
"name": "Jest Test Current eslint-plugin Rule", "name": "Jest Test Current eslint-plugin Rule",
"cwd": "${workspaceFolder}/packages/eslint-plugin/", "cwd": "${workspaceFolder}/packages/eslint-plugin/",
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js", "program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
"args": [ "args": [
"--runInBand", "--runInBand",
"--no-coverage", "--no-cache",
// needs the '' around it so that the () are properly handled "--no-coverage",
"'tests/(.+/)?${fileBasenameNoExtension}'" "${fileBasenameNoExtension}"
], ],
"sourceMaps": true, "sourceMaps": true,
"console": "integratedTerminal", "console": "integratedTerminal",
"internalConsoleOptions": "neverOpen" "internalConsoleOptions": "neverOpen"
}, },
{ {
"type": "node", "type": "node",
"request": "launch", "request": "launch",
"name": "Jest Test Current eslint-plugin-internal Rule", "name": "Jest Test Current eslint-plugin-internal Rule",
"cwd": "${workspaceFolder}/packages/eslint-plugin-internal/", "cwd": "${workspaceFolder}/packages/eslint-plugin-internal/",
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js", "program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
"args": [ "args": [
"--runInBand", "--runInBand",
"--no-coverage", "--no-cache",
// needs the '' around it so that the () are properly handled "--no-coverage",
"'tests/(.+/)?${fileBasenameNoExtension}'" "${fileBasenameNoExtension}"
], ],
"sourceMaps": true, "sourceMaps": true,
"console": "integratedTerminal", "console": "integratedTerminal",
"internalConsoleOptions": "neverOpen" "internalConsoleOptions": "neverOpen"
}, },
{ {
"type": "node", "type": "node",
"request": "launch", "request": "launch",
"name": "Run currently opened typescript-estree test", "name": "Run currently opened typescript-estree test",
"cwd": "${workspaceFolder}/packages/typescript-estree/", "cwd": "${workspaceFolder}/packages/typescript-estree/",
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js", "program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
"args": [ "args": [
"--runInBand", "--runInBand",
"--no-cache", "--no-cache",
"--no-coverage", "--no-coverage",
"${relativeFile}" "${fileBasename}"
], ],
"sourceMaps": true, "sourceMaps": true,
"console": "integratedTerminal", "console": "integratedTerminal",
"internalConsoleOptions": "neverOpen" "internalConsoleOptions": "neverOpen"
}, },
{ {
"type": "node", "type": "node",
"request": "launch", "request": "launch",
"name": "Run currently opened parser test", "name": "Run currently opened parser test",
"cwd": "${workspaceFolder}/packages/parser/", "cwd": "${workspaceFolder}/packages/parser/",
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js", "program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
"args": [ "args": [
"--runInBand", "--runInBand",
"--no-cache", "--no-cache",
"--no-coverage", "--no-coverage",
"${relativeFile}" "${fileBasename}"
], ],
"sourceMaps": true, "sourceMaps": true,
"console": "integratedTerminal", "console": "integratedTerminal",
"internalConsoleOptions": "neverOpen" "internalConsoleOptions": "neverOpen"
} },
{
"type": "node",
"request": "launch",
"name": "Run currently opened experimental-utils test",
"cwd": "${workspaceFolder}/packages/experimental-utils/",
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
"args": [
"--runInBand",
"--no-cache",
"--no-coverage",
"${fileBasenameNoExtension}"
],
"sourceMaps": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
] ]
} }

0 comments on commit 03221d2

Please sign in to comment.