This repository has been archived on 2020-04-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Vim-Vixen/test/background/domains/GlobalMark.test.js
2019-02-24 21:58:12 +09:00

11 lines
382 B
JavaScript

import GlobalMark from 'background/domains/GlobalMark';
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);
});
});