mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-10-04 02:21:29 +07:00
Fix xdebug setup
Co-authored-by: Owen Voke <development@voke.dev> Co-authored-by: Shivam Mathur <shivam_jpr@hotmail.com>
This commit is contained in:
@ -28,11 +28,13 @@ describe('Config tests', () => {
|
||||
it('checking addCoverage with Xdebug on windows', async () => {
|
||||
const win32: string = await coverage.addCoverage('xdebug', '7.4', 'win32');
|
||||
expect(win32).toContain('Add-Extension xdebug');
|
||||
expect(win32).toContain('xdebug.mode=coverage');
|
||||
});
|
||||
|
||||
it('checking addCoverage with Xdebug on linux', async () => {
|
||||
const linux: string = await coverage.addCoverage('xdebug', '8.0', 'linux');
|
||||
expect(linux).toContain('add_extension xdebug');
|
||||
expect(linux).toContain('echo "xdebug.mode=coverage"');
|
||||
});
|
||||
|
||||
it('checking addCoverage with Xdebug3 on linux', async () => {
|
||||
|
Reference in New Issue
Block a user