Add tools support

This commit is contained in:
Shivam Mathur
2019-12-27 06:56:49 +05:30
parent 273096b82f
commit de32d8b95f
13 changed files with 556 additions and 112 deletions

View File

@ -87,13 +87,13 @@ describe('Utils tests', () => {
});
it('checking INIArray', async () => {
expect(await utils.INIArray('a=1, b=2, c=3')).toEqual([
expect(await utils.CSVArray('a=1, b=2, c=3')).toEqual([
'a=1',
'b=2',
'c=3'
]);
expect(await utils.INIArray('')).toEqual([]);
expect(await utils.INIArray(' ')).toEqual([]);
expect(await utils.CSVArray('')).toEqual([]);
expect(await utils.CSVArray(' ')).toEqual([]);
});
it('checking log', async () => {