From e248477ecb46596af734589615118ba573971dc0 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Fri, 12 Oct 2018 14:59:45 +0900 Subject: Scroll on global mark and handle gone tab --- test/background/domains/global-mark.test.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/background/domains/global-mark.test.js') diff --git a/test/background/domains/global-mark.test.js b/test/background/domains/global-mark.test.js index 15d492c..bdf1ea6 100644 --- a/test/background/domains/global-mark.test.js +++ b/test/background/domains/global-mark.test.js @@ -1,9 +1,10 @@ import GlobalMark from 'background/domains/global-mark'; -describe("background/domains/global-mark", () => { - describe("constructor and getter", () => { - let mark = new GlobalMark(1, 10, 30); +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); }); -- cgit v1.2.3