From 19e1e15263ccc0fcd108ee0152f6ba076c6889c7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 29 Dec 2020 18:59:31 -0600 Subject: [PATCH] Admin: fix reducer tests --- app/soapbox/reducers/__tests__/admin-test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/soapbox/reducers/__tests__/admin-test.js b/app/soapbox/reducers/__tests__/admin-test.js index aa32ace8f..891b8cabe 100644 --- a/app/soapbox/reducers/__tests__/admin-test.js +++ b/app/soapbox/reducers/__tests__/admin-test.js @@ -1,11 +1,13 @@ import reducer from '../admin'; -import { fromJS } from 'immutable'; +import { Map as ImmutableMap, OrderedSet as ImmutableOrderedSet, fromJS } from 'immutable'; describe('admin reducer', () => { it('should return the initial state', () => { expect(reducer(undefined, {})).toEqual(fromJS({ reports: [], open_report_count: 0, + users: ImmutableMap(), + awaitingApproval: ImmutableOrderedSet(), })); }); });