From 66fa82fbcaf1ebb96d7af6ff6060beeefc9f896a Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 11 Jul 2020 18:35:28 +0530 Subject: [PATCH] Fix coverage --- __tests__/extensions.test.ts | 2 ++ dist/index.js | 3 +++ 2 files changed, 5 insertions(+) diff --git a/__tests__/extensions.test.ts b/__tests__/extensions.test.ts index b0ee741c..2a9a4a7d 100644 --- a/__tests__/extensions.test.ts +++ b/__tests__/extensions.test.ts @@ -5,6 +5,8 @@ describe('Extension tests', () => { expect(await extensions.getXdebugVersion('5.3')).toContain('2.2.7'); expect(await extensions.getXdebugVersion('5.4')).toContain('2.4.1'); expect(await extensions.getXdebugVersion('5.5')).toContain('2.5.5'); + expect(await extensions.getXdebugVersion('5.6')).toContain('2.5.5'); + expect(await extensions.getXdebugVersion('7.0')).toContain('2.7.2'); expect(await extensions.getXdebugVersion('7.2')).toContain('2.9.6'); }); it('checking addExtensionOnWindows', async () => { diff --git a/dist/index.js b/dist/index.js index aefecab2..7e1d8674 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3520,7 +3520,10 @@ async function getXdebugVersion(version) { case '5.4': return '2.4.1'; case '5.5': + case '5.6': return '2.5.5'; + case '7.0': + return '2.7.2'; default: return '2.9.6'; }