aboutsummaryrefslogtreecommitdiff
path: root/test/content/usecases/SettingUseCaase.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/content/usecases/SettingUseCaase.test.ts')
-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);