Improve Logs and tests

This commit is contained in:
Shivam Mathur
2019-10-17 01:41:13 +05:30
parent 62beed29e3
commit a6aaa1db78
20 changed files with 615 additions and 360 deletions

View File

@ -20,7 +20,8 @@ describe('Config tests', () => {
it('checking addINIValuesOnLinux', async () => {
let linux: string = await config.addINIValues(
'post_max_size=256M, short_open_tag=On, date.timezone=Asia/Kolkata',
'linux'
'linux',
true
);
expect(linux).toContain(
'echo "post_max_size=256M\nshort_open_tag=On\ndate.timezone=Asia/Kolkata" >> $ini_file'