This commit is contained in:
roblou 2016-12-12 10:12:39 -08:00
Родитель 884f90068c
Коммит b225437a81
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -94,7 +94,7 @@ suite('ChromeDebugAdapter', () => {
mockChrome.Runtime
.setup(x => x.evaluate(It.isAny()))
.returns(() => Promise.resolve({ result: { value: '123' }}));
.returns(() => Promise.resolve<any>({ result: { type: 'string', value: '123' }}));
return chromeDebugAdapter.launch({ file: 'c:\\path with space\\index.html', runtimeArgs: ['abc', 'def'] })
.then(() => assert(spawnCalled));