aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-07-04 13:29:42 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-07-04 13:29:42 +0900
commit6b88c15d1a6193cd090c5a1ae9b6ea06a467e171 (patch)
treee1b78080d8e10477007c9379b57a6213e6f72c6a /test
parent5904eeff1a75dcf83bcef7d5666a7473cc5b77de (diff)
yarn lint:fix
Diffstat (limited to 'test')
-rw-r--r--test/background/mock/MockBrowserSettingRepository.ts3
-rw-r--r--test/content/mock/MockAddonEnabledRepository.ts3
-rw-r--r--test/content/operators/impls/MockConsoleFramePresenter.ts3
3 files changed, 6 insertions, 3 deletions
diff --git a/test/background/mock/MockBrowserSettingRepository.ts b/test/background/mock/MockBrowserSettingRepository.ts
index 22e7084..9dd1b15 100644
--- a/test/background/mock/MockBrowserSettingRepository.ts
+++ b/test/background/mock/MockBrowserSettingRepository.ts
@@ -1,7 +1,8 @@
import BrowserSettingRepository from "../../../src/background/repositories/BrowserSettingRepository";
export default class MockBrowserSettingRepository
- implements BrowserSettingRepository {
+ implements BrowserSettingRepository
+{
constructor(private readonly homepageUrls: string[]) {}
getHomepageUrls(): Promise<string[]> {
diff --git a/test/content/mock/MockAddonEnabledRepository.ts b/test/content/mock/MockAddonEnabledRepository.ts
index cbe248b..30454f0 100644
--- a/test/content/mock/MockAddonEnabledRepository.ts
+++ b/test/content/mock/MockAddonEnabledRepository.ts
@@ -1,7 +1,8 @@
import AddonEnabledRepository from "../../../src/content/repositories/AddonEnabledRepository";
export default class MockAddonEnabledRepository
- implements AddonEnabledRepository {
+ implements AddonEnabledRepository
+{
public enabled: boolean;
constructor(initialValue = false) {
diff --git a/test/content/operators/impls/MockConsoleFramePresenter.ts b/test/content/operators/impls/MockConsoleFramePresenter.ts
index 23bc27f..3d40bb4 100644
--- a/test/content/operators/impls/MockConsoleFramePresenter.ts
+++ b/test/content/operators/impls/MockConsoleFramePresenter.ts
@@ -1,7 +1,8 @@
import ConsoleFramePresenter from "../../../../src/content/presenters/ConsoleFramePresenter";
export default class MockConsoleFramePresenter
- implements ConsoleFramePresenter {
+ implements ConsoleFramePresenter
+{
constructor(public attached: boolean) {}
attach(): void {