
import chai, { expect } from 'chai';
import Immutable from 'immutable';

import chaiImmutable from 'chai-immutable';

import reducer from '../../../../../client/scripts/arcademode/reducers/playerstatus';

import {
  onClickPass
} from '../../../../../client/scripts/arcademode/actions/playerstatus';

chai.use(chaiImmutable);

describe('Reducer: playerstatus', () => {
  it('should change pass status correctly', () => {
    const state = Immutable.Map({
      passOption: true
    });
    const nextState = reducer(state, onClickPass());
    expect(nextState.get('passOption')).to.be.false;
  });
});

/* remove lives and deletion of pass option 6/2/17 */

/*
import chai, { expect } from 'chai';
import Immutable from 'immutable';

import chaiImmutable from 'chai-immutable';

import reducer from '../../../../../client/scripts/arcademode/reducers/playerstatus';

import {
  onClickPass
} from '../../../../../client/scripts/arcademode/actions/playerstatus';

chai.use(chaiImmutable);

describe('Reducer: playerstatus', () => {
  it('should change pass status correctly', () => {
    const state = Immutable.Map({
      passOption: true
    });
    const nextState = reducer(state, onClickPass());
    expect(nextState.get('passOption')).to.be.false;
  });
});
*/

comment out test while lives/pass do not change'