mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 18:36:46 +00:00
linting
This commit is contained in:
parent
5d5e936b67
commit
16f95dd59b
2 changed files with 2 additions and 5 deletions
|
@ -45,8 +45,7 @@ describe('isCacheFeatureAvailable', () => {
|
|||
it('isCacheFeatureAvailable disabled on dotcom', () => {
|
||||
jest.spyOn(cache, 'isFeatureAvailable').mockImplementation(() => false);
|
||||
const infoMock = jest.spyOn(core, 'warning');
|
||||
const message =
|
||||
'The runner was not able to contact the cache service. Caching will be skipped';
|
||||
const message = '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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue