From ca3f03ea5ed46d4a6c4815bedd2469a69f3b1183 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 9 May 2021 15:16:40 +0900 Subject: Improve an error message on invalid settings --- test/background/usecases/SettingUseCase.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/background/usecases') diff --git a/test/background/usecases/SettingUseCase.test.ts b/test/background/usecases/SettingUseCase.test.ts index c604e91..8a4c2b2 100644 --- a/test/background/usecases/SettingUseCase.test.ts +++ b/test/background/usecases/SettingUseCase.test.ts @@ -38,7 +38,7 @@ class MockCachedSettingRepository implements CachedSettingRepository { } class NopNotifier implements Notifier { - notifyInvalidSettings(_onclick: () => void): Promise { + notifyInvalidSettings(_error: Error, _onclick: () => void): Promise { return Promise.resolve(); } -- cgit v1.2.3