Fix getting the default state.

This commit is contained in:
Jordan Eldredge 2017-08-27 19:41:23 -07:00
parent 410cc67c13
commit de1a3a5693

View file

@ -2,7 +2,7 @@ import reducer from "./reducers";
import { getEqfData } from "./selectors";
describe("getEqfData", () => {
it("can extract EQF data from the current state", () => {
const state = reducer();
const state = reducer(undefined, { type: "@@INIT" });
//state = reducer(state, { type: "SET_BAND_VALUE", band: 60, value: 100 });
const actual = getEqfData(state);
const expected = {