diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-04-15 19:35:15 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-05-02 12:55:42 +0900 |
commit | b0fe06bc2e739cc252a559f666da65b27769959d (patch) | |
tree | 4fe9d1c6378b87082b14ca6d1b7ca2737df94aac /test/content/usecases | |
parent | 20d40d8017284f80876bde8e28cbde47c3651886 (diff) |
Fix types in tests
Diffstat (limited to 'test/content/usecases')
-rw-r--r-- | test/content/usecases/SettingUseCaase.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/content/usecases/SettingUseCaase.test.ts b/test/content/usecases/SettingUseCaase.test.ts index 19a167a..1cc1e8a 100644 --- a/test/content/usecases/SettingUseCaase.test.ts +++ b/test/content/usecases/SettingUseCaase.test.ts @@ -40,7 +40,7 @@ describe("AddonEnabledUseCase", () => { let sut: SettingUseCase; beforeEach(() => { - const testSettings = { + const testSettings = Settings.fromJSON({ keymaps: {}, search: { default: "google", @@ -54,7 +54,7 @@ describe("AddonEnabledUseCase", () => { complete: "sbh", }, blacklist: [], - }; + }); repository = new MockSettingRepository(); client = new MockSettingClient(testSettings); |