Fix unit tests
This commit is contained in:
Родитель
319701134b
Коммит
2c8e8cf6c2
|
@ -5,7 +5,7 @@
|
|||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Mocha All",
|
||||
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
||||
"program": "${workspaceFolder}/../../node_modules/mocha/bin/_mocha",
|
||||
"args": [
|
||||
"--timeout",
|
||||
"999999",
|
||||
|
@ -19,7 +19,7 @@
|
|||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Mocha Current File",
|
||||
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
||||
"program": "${workspaceFolder}/../../node_modules/mocha/bin/_mocha",
|
||||
"args": [
|
||||
"--timeout",
|
||||
"999999",
|
||||
|
|
|
@ -31,7 +31,7 @@ describe('MSI App Service Authentication', function () {
|
|||
if (!error) {
|
||||
interceptor.reply(200, response);
|
||||
} else {
|
||||
interceptor.replyWithError(error);
|
||||
interceptor.reply(400, error);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче