mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-20 12:34:44 +07:00
More fixes in fetching tool versions
This commit is contained in:
@ -40,7 +40,8 @@ describe('Utils tests', () => {
|
||||
expect(response.data).toContain('latest');
|
||||
|
||||
response = await utils.fetch(manifest, 'invalid_token');
|
||||
expect(response.error).toBe('404: Not Found');
|
||||
expect(response.error).not.toBe(undefined);
|
||||
expect(response.data).toBe(undefined);
|
||||
});
|
||||
|
||||
it('checking getManifestURL', async () => {
|
||||
|
Reference in New Issue
Block a user