aboutsummaryrefslogtreecommitdiff
path: root/test/background/domains
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-10-12 14:59:45 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-10-12 14:59:45 +0900
commite248477ecb46596af734589615118ba573971dc0 (patch)
tree8167efec0a4f539d4aecea4a0555c38f6a0934a3 /test/background/domains
parent003742ec51aa7aea9214442bc0b611e2eb5eaf6e (diff)
Scroll on global mark and handle gone tab
Diffstat (limited to 'test/background/domains')
-rw-r--r--test/background/domains/global-mark.test.js7
1 files changed, 4 insertions, 3 deletions
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);
});