aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-08-11 21:34:11 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-08-11 21:34:11 +0900
commit1f10eac90011e6c3c1ad20ce91b358911dc74dcb (patch)
tree7913507c61396b65512f54c34c42e92a240e3f11 /test
parent3a4bdca8ba11a6448f4d16169e7a5161b2ad2e94 (diff)
Enable @typescript-eslint/ban-types rule
Diffstat (limited to 'test')
-rw-r--r--test/background/completion/TabCompletionUseCase.test.ts2
-rw-r--r--test/background/usecases/NavigateUseCase.test.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/background/completion/TabCompletionUseCase.test.ts b/test/background/completion/TabCompletionUseCase.test.ts
index d8aa385..e1a88a2 100644
--- a/test/background/completion/TabCompletionUseCase.test.ts
+++ b/test/background/completion/TabCompletionUseCase.test.ts
@@ -18,7 +18,7 @@ class MockTabRepository implements TabRepositoryImpl {
}
class MockTabPresenter implements TabPresenter {
- create(_url: string, _opts?: object): Promise<browser.tabs.Tab> {
+ create(_url: string, _opts?: unknown): Promise<browser.tabs.Tab> {
throw new Error("not implemented");
}
diff --git a/test/background/usecases/NavigateUseCase.test.ts b/test/background/usecases/NavigateUseCase.test.ts
index 7263627..086d6cd 100644
--- a/test/background/usecases/NavigateUseCase.test.ts
+++ b/test/background/usecases/NavigateUseCase.test.ts
@@ -5,7 +5,7 @@ import NavigateClient from "../../../src/background/clients/NavigateClient";
import * as sinon from "sinon";
class MockTabPresenter implements TabPresenter {
- create(_url: string, _opts?: object): Promise<browser.tabs.Tab> {
+ create(_url: string, _opts?: unknown): Promise<browser.tabs.Tab> {
throw new Error("not implemented");
}