Fetch blackfire latest versions

This commit is contained in:
Shivam Mathur
2020-05-07 17:14:15 +05:30
parent 8123132b99
commit 5c2618165a
11 changed files with 42 additions and 96 deletions

View File

@ -161,14 +161,4 @@ describe('Utils tests', () => {
'Platform fedora is not supported'
);
});
it('checking getBlackfireVersion', async () => {
expect(await utils.getBlackfireVersion('')).toEqual('1.31.0');
expect(await utils.getBlackfireVersion(undefined)).toEqual('1.31.0');
expect(await utils.getBlackfireVersion(null)).toEqual('1.31.0');
expect(await utils.getBlackfireVersion('1.32.0')).toEqual('1.32.0');
});
it('checking getBlackfireAgentVersion', async () => {
expect(await utils.getBlackfireAgentVersion()).toEqual('1.32.0');
});
});