From 6664f1646a1a3b20bac4412569d3312e1a5b1cf1 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari Date: Fri, 25 Mar 2022 00:25:03 +0530 Subject: [PATCH] linting --- packages/cache/__tests__/cache.test.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/cache/__tests__/cache.test.ts b/packages/cache/__tests__/cache.test.ts index 269bc0cb..259c223d 100644 --- a/packages/cache/__tests__/cache.test.ts +++ b/packages/cache/__tests__/cache.test.ts @@ -1,15 +1,14 @@ import * as cache from '../src/cache' test('isFeatureAvailable returns true if server url is set', () => { - try { + try { process.env['ACTIONS_CACHE_URL'] = 'http://cache.com' expect(cache.isFeatureAvailable()).toBe(true) } finally { delete process.env['ACTIONS_CACHE_URL'] } }) - - test('isFeatureAvailable returns false if server url is not set', () => { - expect(cache.isFeatureAvailable()).toBe(false) - }) - \ No newline at end of file + +test('isFeatureAvailable returns false if server url is not set', () => { + expect(cache.isFeatureAvailable()).toBe(false) +})