set find keyword from background

This commit is contained in:
Shin'ya Ueoka 2018-03-07 21:05:52 +09:00
parent 24e72aa6e0
commit 92f8365be7
3 changed files with 35 additions and 20 deletions

View file

@ -5,7 +5,7 @@ import findReducer from 'content/reducers/find';
describe("find reducer", () => {
it('return the initial state', () => {
let state = findReducer(undefined, {});
expect(state).to.have.property('keyword', '');
expect(state).to.have.property('keyword', null);
expect(state).to.have.property('found', false);
});