mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 21:09:07 +08:00
remove extra spaces
This commit is contained in:
parent
8251d0edc0
commit
336e5e4ce8
6
packages/cache/__tests__/cache.test.ts
vendored
6
packages/cache/__tests__/cache.test.ts
vendored
@ -2,10 +2,10 @@ import * as cache from '../src/cache'
|
|||||||
|
|
||||||
test('isFeatureAvailable returns true if server url is set', () => {
|
test('isFeatureAvailable returns true if server url is set', () => {
|
||||||
try {
|
try {
|
||||||
process.env['ACTIONS_CACHE_URL'] = 'http://cache.com'
|
process.env['ACTIONS_CACHE_URL'] = 'http://cache.com'
|
||||||
expect(cache.isFeatureAvailable()).toBe(true)
|
expect(cache.isFeatureAvailable()).toBe(true)
|
||||||
} finally {
|
} finally {
|
||||||
delete process.env['ACTIONS_CACHE_URL']
|
delete process.env['ACTIONS_CACHE_URL']
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user