Fix Xdebug coverage

This commit is contained in:
Shivam Mathur
2020-06-19 14:47:34 +05:30
parent fe504c5e23
commit 6b93e48d83
3 changed files with 28 additions and 33 deletions

View File

@ -48,7 +48,8 @@ describe('Config tests', () => {
it('checking addCoverage with Xdebug on linux', async () => {
const linux: string = await coverage.addCoverage('xdebug', '8.0', 'linux');
expect(linux).toContain('Xdebug currently only supports PHP 7.4 or lower');
expect(linux).toContain('add_extension xdebug');
expect(linux).toContain('echo "xdebug.mode=coverage"');
});
it('checking addCoverage with Xdebug on darwin', async () => {