aboutsummaryrefslogtreecommitdiff
path: root/test/background/repositories/Mark.test.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-12-22 11:10:36 +0900
committerGitHub <noreply@github.com>2019-12-22 11:10:36 +0900
commitb1a6f374dca078dee2406ebe049715b826e37ca2 (patch)
tree5367c48648e2018f55f12d847baba94559e10040 /test/background/repositories/Mark.test.ts
parentb2dcdedad729ff7087867da50e20578f9fc8fb29 (diff)
parentda72c2ddd916d79d134662e3985b53a4ac78af7a (diff)
Merge pull request #690 from ueokande/eslint-and-prettier
Eslint and prettier
Diffstat (limited to 'test/background/repositories/Mark.test.ts')
-rw-r--r--test/background/repositories/Mark.test.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/background/repositories/Mark.test.ts b/test/background/repositories/Mark.test.ts
index 167e512..ed1a68e 100644
--- a/test/background/repositories/Mark.test.ts
+++ b/test/background/repositories/Mark.test.ts
@@ -1,15 +1,14 @@
import MarkRepository from 'background/repositories/MarkRepository';
-import GlobalMark from 'background/domains/GlobalMark';
describe('background/repositories/mark', () => {
- let repository;
+ let repository: MarkRepository;
beforeEach(() => {
- repository = new MarkRepository;
+ repository = new MarkRepository();
});
it('get and set', async() => {
- let mark = { tabId: 1, url: 'http://example.com', x: 10, y: 30 };
+ const mark = { tabId: 1, url: 'http://example.com', x: 10, y: 30 };
repository.setMark('A', mark);