diff options
author | Shin'ya UEOKA <ueokande@i-beam.org> | 2019-10-05 01:08:07 +0000 |
---|---|---|
committer | Shin'ya UEOKA <ueokande@i-beam.org> | 2019-10-06 12:58:59 +0000 |
commit | 2116ac90a6dfdb0910d7ad2896f70a052aa635cc (patch) | |
tree | e3ed16ac3fb126e06e97b18a742e074fbeed079a /test/content/repositories | |
parent | 410ffbb0376b9399928ef8d4dd13079bfb120e14 (diff) |
Make Search class
Diffstat (limited to 'test/content/repositories')
-rw-r--r-- | test/content/repositories/SettingRepository.test.ts | 5 |
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, |