aboutsummaryrefslogtreecommitdiff
path: root/test/content/repositories
diff options
context:
space:
mode:
Diffstat (limited to 'test/content/repositories')
-rw-r--r--test/content/repositories/SettingRepository.test.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/content/repositories/SettingRepository.test.ts b/test/content/repositories/SettingRepository.test.ts
index 457ca4c..363fcec 100644
--- a/test/content/repositories/SettingRepository.test.ts
+++ b/test/content/repositories/SettingRepository.test.ts
@@ -1,6 +1,7 @@
import { SettingRepositoryImpl } from '../../../src/content/repositories/SettingRepository';
import { expect } from 'chai';
import Keymaps from '../../../src/shared/settings/Keymaps';
+import Search from '../../../src/shared/settings/Search';
describe('SettingRepositoryImpl', () => {
it('updates and gets current value', () => {
@@ -8,12 +9,12 @@ describe('SettingRepositoryImpl', () => {
let settings = {
keymaps: Keymaps.fromJSON({}),
- search: {
+ search: Search.fromJSON({
default: 'google',
engines: {
google: 'https://google.com/?q={}',
}
- },
+ }),
properties: {
hintchars: 'abcd1234',
smoothscroll: false,