tslint and test warnings
This commit is contained in:
Родитель
02e1d0f8a2
Коммит
0351251148
|
@ -14,6 +14,8 @@ suite('Utilities', () => {
|
||||||
mockery.enable({ useCleanCache: true, warnOnReplace: false });
|
mockery.enable({ useCleanCache: true, warnOnReplace: false });
|
||||||
mockery.registerMock('fs', { statSync: () => { } });
|
mockery.registerMock('fs', { statSync: () => { } });
|
||||||
mockery.registerMock('os', { platform: () => 'win32' });
|
mockery.registerMock('os', { platform: () => 'win32' });
|
||||||
|
mockery.registerMock('url', { });
|
||||||
|
mockery.registerMock('path', { });
|
||||||
mockery.registerAllowable(MODULE_UNDER_TEST);
|
mockery.registerAllowable(MODULE_UNDER_TEST);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ import * as Utilities from './utilities';
|
||||||
import {Logger} from './utilities';
|
import {Logger} from './utilities';
|
||||||
|
|
||||||
import {spawn, ChildProcess} from 'child_process';
|
import {spawn, ChildProcess} from 'child_process';
|
||||||
import * as nodeUrl from 'url';
|
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import * as os from 'os';
|
import * as os from 'os';
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче