aboutsummaryrefslogtreecommitdiff
path: root/test/background/domains
diff options
context:
space:
mode:
Diffstat (limited to 'test/background/domains')
-rw-r--r--test/background/domains/global-mark.test.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/background/domains/global-mark.test.js b/test/background/domains/global-mark.test.js
new file mode 100644
index 0000000..15d492c
--- /dev/null
+++ b/test/background/domains/global-mark.test.js
@@ -0,0 +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);
+ expect(mark.tabId).to.equal(1);
+ expect(mark.x).to.equal(10);
+ expect(mark.y).to.equal(30);
+ });
+});