diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-05-09 15:16:40 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-05-09 15:16:40 +0900 |
commit | ca3f03ea5ed46d4a6c4815bedd2469a69f3b1183 (patch) | |
tree | c03022cbdb4b21d3c6b50a195e4eb80dd45996a3 /test | |
parent | b912cd536c6edbb023c8d6e7614cc748ce83a48e (diff) |
Improve an error message on invalid settings
Diffstat (limited to 'test')
-rw-r--r-- | test/background/usecases/SettingUseCase.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<void> { + notifyInvalidSettings(_error: Error, _onclick: () => void): Promise<void> { return Promise.resolve(); } |