set find keyword from background
This commit is contained in:
parent
24e72aa6e0
commit
92f8365be7
3 changed files with 35 additions and 20 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Reference in a new issue