From e01b7d8d70a7463c338da138b129cdec8c32408e Mon Sep 17 00:00:00 2001 From: Curtis ROck Date: Tue, 7 Jul 2020 21:52:56 -0500 Subject: [PATCH] fix linter errors --- app/soapbox/reducers/__tests__/height_cache-test.js | 6 +----- app/soapbox/reducers/__tests__/identity_proofs-test.js | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/soapbox/reducers/__tests__/height_cache-test.js b/app/soapbox/reducers/__tests__/height_cache-test.js index 9119a2312..cb9d05eb9 100644 --- a/app/soapbox/reducers/__tests__/height_cache-test.js +++ b/app/soapbox/reducers/__tests__/height_cache-test.js @@ -8,10 +8,6 @@ describe('height_cache reducer', () => { }); it('should handle HEIGHT_CACHE_CLEAR', () => { - const state = ImmutableMap({ is_uploading: true }); - const action = { - type: HEIGHT_CACHE_CLEAR, - }; expect(reducer(undefined, {})).toEqual(ImmutableMap()); - }) + }); }); diff --git a/app/soapbox/reducers/__tests__/identity_proofs-test.js b/app/soapbox/reducers/__tests__/identity_proofs-test.js index 1dff3d928..5c0a774d4 100644 --- a/app/soapbox/reducers/__tests__/identity_proofs-test.js +++ b/app/soapbox/reducers/__tests__/identity_proofs-test.js @@ -1,6 +1,6 @@ import reducer from '../identity_proofs'; import { Map as ImmutableMap } from 'immutable'; -import * as actions from '../identity_proofs'; +//import * as actions from '../identity_proofs'; describe('identity_proofs reducer', () => { it('should return the initial state', () => {