Admin: fix reducer tests

fix/tabs-bar-issues
Alex Gleason 2020-12-29 18:59:31 -06:00
rodzic 23a4a605a1
commit 19e1e15263
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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(),
}));
});
});