<commit_before>// import { fromJS } from 'immutable';
// import { makeSelectLoginPageDomain } from '../selectors';

// const selector = makeSelectLoginPageDomain();

describe('makeSelectLoginPageDomain', () => {
  it('Expect to have unit tests specified', () => {
    expect(true).toEqual(false);
  });
});<commit_msg>WIP Add selector testing<commit_after>import { fromJS } from 'immutable';
import { selectLoginPageDomain } from '../selectors';

// const selector = makeSelectLoginPageDomain();

describe('selectLoginPageDomain', () => {
  it('should select the login state', () => {
    const loginState = fromJS({
      credentials: {},
    });
    const mockedState = fromJS({
      login: loginState,
    });

    expect(selectLoginPageDomain()(mockedState)).toEqual(loginState);
  });
});
{'fraction_non_alphanumeric': 0.163727959697733, 'fraction_numerical': 0.0, 'mean_word_length': 4.371621621621622, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4222320', 'n_tokens_mistral': 225, 'n_tokens_neox': 226, 'n_words': 50}