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.
12 lines
382 B
12 lines
382 B
6 years ago
|
import GlobalMark from 'background/domains/GlobalMark';
|
||
6 years ago
|
|
||
6 years ago
|
describe('background/domains/global-mark', () => {
|
||
|
describe('constructor and getter', () => {
|
||
|
let mark = new GlobalMark(1, 'http://example.com', 10, 30);
|
||
6 years ago
|
expect(mark.tabId).to.equal(1);
|
||
6 years ago
|
expect(mark.url).to.equal('http://example.com');
|
||
6 years ago
|
expect(mark.x).to.equal(10);
|
||
|
expect(mark.y).to.equal(30);
|
||
|
});
|
||
|
});
|