aboutsummaryrefslogtreecommitdiff
path: root/test/content/repositories
diff options
context:
space:
mode:
authorShin'ya UEOKA <ueokande@i-beam.org>2019-10-05 01:08:07 +0000
committerShin'ya UEOKA <ueokande@i-beam.org>2019-10-06 12:58:59 +0000
commit2116ac90a6dfdb0910d7ad2896f70a052aa635cc (patch)
treee3ed16ac3fb126e06e97b18a742e074fbeed079a /test/content/repositories
parent410ffbb0376b9399928ef8d4dd13079bfb120e14 (diff)
Make Search class
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,