aboutsummaryrefslogtreecommitdiff
path: root/test/background/domains/global-mark.test.js
blob: bdf1ea6dd85696920ae14f408bd478775242d90a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import GlobalMark from 'background/domains/global-mark';

describe('background/domains/global-mark', () => {
  describe('constructor and getter', () => {
    let mark = new GlobalMark(1, 'http://example.com', 10, 30);
    expect(mark.tabId).to.equal(1);
    expect(mark.url).to.equal('http://example.com');
    expect(mark.x).to.equal(10);
    expect(mark.y).to.equal(30);
  });
});