blob: 467604fa81a67354e5bf8a6e324c4b927cb63379 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { expect } from "chai";
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');
});
});
});
|