This commit is contained in:
Rob Lourens 2017-09-27 18:47:03 -07:00
Родитель f04ae1f286
Коммит 3cf41dfc4c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 2B04B2B17B8D75D7
4 изменённых файлов: 28 добавлений и 13 удалений

18
.vscode/launch.json поставляемый
Просмотреть файл

@ -27,11 +27,27 @@
"-u", "tdd",
"--colors",
"out/test/**/*.test.js",
"--reporter", "node_modules/vscode-chrome-debug-core-testsupport/out/loggingReporter.js",
"--timeout", "1800000"
],
"outFiles": ["${workspaceRoot}/out/**/*.js"]
},
{
"type": "node",
"request": "launch",
"name": "intTest",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"sourceMaps": false,
"args": [
"-u", "tdd",
"--timeout", "999999",
"--colors",
"--reporter", "node_modules/vscode-chrome-debug-core-testsupport/out/loggingReporter.js",
"${workspaceFolder}/out/test/int/*.test.js"
],
"outFiles": [
"${workspaceRoot}/out/**/*.js"
]
},
{
"name": "Run Extension",
"type": "extensionHost",

12
npm-shrinkwrap.json сгенерированный
Просмотреть файл

@ -125,14 +125,14 @@
"resolved": "https://registry.npmjs.org/vscode-chrome-debug-core/-/vscode-chrome-debug-core-3.17.6.tgz"
},
"vscode-debugadapter": {
"version": "1.23.0",
"from": "vscode-debugadapter@>=1.23.0 <2.0.0",
"resolved": "https://registry.npmjs.org/vscode-debugadapter/-/vscode-debugadapter-1.23.0.tgz"
"version": "1.24.0",
"from": "vscode-debugadapter@>=1.24.0 <2.0.0",
"resolved": "https://registry.npmjs.org/vscode-debugadapter/-/vscode-debugadapter-1.24.0.tgz"
},
"vscode-debugprotocol": {
"version": "1.23.0",
"from": "vscode-debugprotocol@>=1.23.0 <2.0.0",
"resolved": "https://registry.npmjs.org/vscode-debugprotocol/-/vscode-debugprotocol-1.23.0.tgz"
"version": "1.24.0",
"from": "vscode-debugprotocol@>=1.24.0 <2.0.0",
"resolved": "https://registry.npmjs.org/vscode-debugprotocol/-/vscode-debugprotocol-1.24.0.tgz"
},
"vscode-nls": {
"version": "2.0.2",

Просмотреть файл

@ -22,7 +22,7 @@
"license": "SEE LICENSE IN LICENSE.txt",
"dependencies": {
"vscode-chrome-debug-core": "3.17.6",
"vscode-debugadapter": "^1.23.0"
"vscode-debugadapter": "^1.24.0"
},
"devDependencies": {
"@types/mocha": "^2.2.35",
@ -42,9 +42,9 @@
"typemoq": "^0.3.3",
"typescript": "^2.4.1",
"vscode": "^1.0.3",
"vscode-chrome-debug-core-testsupport": "^3.16.0",
"vscode-debugadapter-testsupport": "1.23.0",
"vscode-debugprotocol": "^1.23.0",
"vscode-chrome-debug-core-testsupport": "^3.17.1",
"vscode-debugadapter-testsupport": "1.24.0",
"vscode-debugprotocol": "^1.24.0",
"webpack": "^2.2.0-rc.1",
"webpack-fail-plugin": "^1.0.5"
},

Просмотреть файл

@ -75,10 +75,9 @@ suite('Breakpoints', () => {
const bpCol1 = 19;
const correctBpCol1 = 16;
const expectedLocation = { path: scriptPath, line: bpLine, column: correctBpCol1 };
await dc.hitBreakpoint(
await dc.hitBreakpointUnverified(
{ url, webRoot: testProjectRoot },
{ path: scriptPath, line: bpLine, column: bpCol1 },
expectedLocation,
expectedLocation);
});
});