aboutsummaryrefslogtreecommitdiff
path: root/src/content/di.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-11-29 13:55:26 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-12-09 23:09:34 +0900
commitc523d75472a16dc58e2e4c4ee51eb15efe6c11f9 (patch)
tree3aa8f0c1175280d85a959585f2b0b66fecb17808 /src/content/di.ts
parent36c28a538955c0cd9d94c210372337d7a5c2a01b (diff)
Add operators' test
Diffstat (limited to 'src/content/di.ts')
-rw-r--r--src/content/di.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content/di.ts b/src/content/di.ts
index b39ce54..e74d7ac 100644
--- a/src/content/di.ts
+++ b/src/content/di.ts
@@ -30,6 +30,7 @@ import { SettingRepositoryImpl } from "./repositories/SettingRepository";
import { TabsClientImpl } from "./client/TabsClient";
import { container } from "tsyringe";
import OperatorFactoryImpl from "./operators/impls/OperatorFactoryImpl";
+import { URLRepositoryImpl } from "./operators/impls/URLRepository";
container.register("FollowMasterClient", {
useValue: new FollowMasterClientImpl(window.top),
@@ -80,5 +81,6 @@ container.register("OperationClient", { useClass: OperationClientImpl });
container.register("ScrollPresenter", { useClass: ScrollPresenterImpl });
container.register("SettingClient", { useClass: SettingClientImpl });
container.register("SettingRepository", { useClass: SettingRepositoryImpl });
+container.register("URLRepository", { useClass: URLRepositoryImpl });
container.register("TabsClient", { useClass: TabsClientImpl });
container.register("OperatorFactory", { useClass: OperatorFactoryImpl });