aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-12-02 22:40:10 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-12-09 23:09:34 +0900
commitca804b1b335df0e7a316d12ed9246beec55ff7f2 (patch)
tree6265d1d0b4e7637a10ae9e68e0f2949d11fcd0e4 /test
parentddf912804fc4cb26d388283eacca63a0aeddf779 (diff)
Make background operator as an operator
Diffstat (limited to 'test')
-rw-r--r--test/background/usecases/NavigateUseCase.test.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/background/usecases/NavigateUseCase.test.ts b/test/background/usecases/NavigateUseCase.test.ts
index 086d6cd..f1b94a7 100644
--- a/test/background/usecases/NavigateUseCase.test.ts
+++ b/test/background/usecases/NavigateUseCase.test.ts
@@ -1,7 +1,9 @@
import "reflect-metadata";
import TabPresenter from "../../../src/background/presenters/TabPresenter";
import NavigateUseCase from "../../../src/background/usecases/NavigateUseCase";
-import NavigateClient from "../../../src/background/clients/NavigateClient";
+import NavigateClient, {
+ NavigateClientImpl,
+} from "../../../src/background/clients/NavigateClient";
import * as sinon from "sinon";
class MockTabPresenter implements TabPresenter {
@@ -78,7 +80,7 @@ describe("NavigateUseCase", () => {
beforeEach(() => {
tabPresenter = new MockTabPresenter();
- navigateClient = new NavigateClient();
+ navigateClient = new NavigateClientImpl();
sut = new NavigateUseCase(tabPresenter, navigateClient);
});