Review comment

This commit is contained in:
Shubham Tiwari 2022-03-31 00:44:59 +05:30
parent 85413f7a6b
commit fc72fbdb56
3 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ describe('isCacheFeatureAvailable', () => {
jest.spyOn(cache, 'isFeatureAvailable').mockImplementation(() => false);
const infoMock = jest.spyOn(core, 'warning');
const message =
'An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.';
'The runner was not able to contact the cache service. Caching will be skipped';
try {
process.env['GITHUB_SERVER_URL'] = 'http://github.com';
expect(isCacheFeatureAvailable()).toBe(false);