aboutsummaryrefslogtreecommitdiff
path: root/test/content/usecases
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-04-15 19:35:15 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-05-02 12:55:42 +0900
commitb0fe06bc2e739cc252a559f666da65b27769959d (patch)
tree4fe9d1c6378b87082b14ca6d1b7ca2737df94aac /test/content/usecases
parent20d40d8017284f80876bde8e28cbde47c3651886 (diff)
Fix types in tests
Diffstat (limited to 'test/content/usecases')
-rw-r--r--test/content/usecases/SettingUseCaase.test.ts4
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);