aboutsummaryrefslogtreecommitdiff
path: root/test/background/actions/tab.test.js
blob: ab57374bed3bf078557dd79abec7ba1104c59355 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
    });
  });
});