UNPKG

contiago-toolbar

Version:

One of the options for outputting content from contiago xml-server

16 lines (13 loc) 348 B
import { fromJS } from 'immutable'; import { selectLanguage, } from '../selectors'; describe('selectLanguage', () => { it('should select the global state', () => { const globalState = fromJS({}); const mockedState = fromJS({ language: globalState, }); expect(selectLanguage(mockedState)).toEqual(globalState); }); });