A fork of https://github.com/ueokande/vim-vixen
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
427 B
14 lines
427 B
7 years ago
|
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');
|
||
|
});
|
||
|
});
|
||
|
});
|