aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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 {