aboutsummaryrefslogtreecommitdiff
path: root/test/background/actions/find.test.js
blob: 6b0b846e4c959133c76c0577da8df9803d478fe9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import actions from 'background/actions';
import * as findActions from 'background/actions/find';

describe("find actions", () => {
  describe("setKeyword", () => {
    it('create FIND_SET_KEYWORD action', () => {
      let action = findActions.setKeyword('banana');
      expect(action.type).to.equal(actions.FIND_SET_KEYWORD);
      expect(action.keyword).to.equal('banana');
    });
  });
});