1
0
Fork 0
pull/1028/head
Shubham Tiwari 2022-03-25 00:26:40 +05:30
parent 6664f1646a
commit 2a53a08370
1 changed files with 3 additions and 3 deletions

View File

@ -4,10 +4,10 @@ test('isFeatureAvailable returns true if server url is set', () => {
try {
process.env['ACTIONS_CACHE_URL'] = 'http://cache.com'
expect(cache.isFeatureAvailable()).toBe(true)
} finally {
} finally {
delete process.env['ACTIONS_CACHE_URL']
}
})
}
})
test('isFeatureAvailable returns false if server url is not set', () => {
expect(cache.isFeatureAvailable()).toBe(false)