Fixing build and TsLint issues

This commit is contained in:
Amit Mittal 2017-11-13 11:39:50 +01:00
Родитель e61d9e8f71
Коммит 26e1c32eda
2 изменённых файлов: 6 добавлений и 6 удалений

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

@ -138,7 +138,7 @@ suite('ChromeDebugAdapter', () => {
{ '/src': WEBROOT + '/app/src' });
assert.deepEqual(
resolveWebRootPattern(WEBROOT, <ISourceMapPathOverrides>{ '${webRoot}/src': '${webRoot}/app/src'}),
{ WEBROOT + '/src': WEBROOT + '/app/src' });
{ [WEBROOT + '/src']: WEBROOT + '/app/src'});
});
test(`ignores the webRoot pattern when it's not at the beginning of the string`, () => {
@ -162,7 +162,7 @@ suite('ChromeDebugAdapter', () => {
'*/app.js': '*/app.js',
'/src/app.js': '/src/${webRoot}',
'/app.js': WEBROOT + '/app.js',
WEBROOT + '/app1.js': WEBROOT + '/app.js'
[WEBROOT + '/app1.js']: WEBROOT + '/app.js'
};
assert.deepEqual(