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
369 B
14 lines
369 B
7 years ago
|
import actions from 'background/actions';
|
||
|
import * as tabActions from 'background/actions/tab';
|
||
|
|
||
|
describe("tab actions", () => {
|
||
|
describe("selected", () => {
|
||
|
it('create TAB_SELECTED action', () => {
|
||
|
let action = tabActions.selected(123);
|
||
|
expect(action.type).to.equal(actions.TAB_SELECTED);
|
||
|
expect(action.tabId).to.equal(123);
|
||
|
});
|
||
|
});
|
||
|
});
|
||
|
|