aboutsummaryrefslogtreecommitdiff
path: root/test/content/repositories/SettingRepository.test.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-12-22 10:28:14 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-12-22 10:48:39 +0900
commit029d5365e7d74e87375fccb8db097b7c2df3f7f4 (patch)
tree6a24c719da9c60461c7e2fe120b0d42af9e580f2 /test/content/repositories/SettingRepository.test.ts
parentd72012529bcd820598fa64e1aa20dab1c16acaa5 (diff)
npm run lint:fix
Diffstat (limited to 'test/content/repositories/SettingRepository.test.ts')
-rw-r--r--test/content/repositories/SettingRepository.test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/content/repositories/SettingRepository.test.ts b/test/content/repositories/SettingRepository.test.ts
index db4c528..e45d7c4 100644
--- a/test/content/repositories/SettingRepository.test.ts
+++ b/test/content/repositories/SettingRepository.test.ts
@@ -4,9 +4,9 @@ import Settings from '../../../src/shared/settings/Settings';
describe('SettingRepositoryImpl', () => {
it('updates and gets current value', () => {
- let sut = new SettingRepositoryImpl();
+ const sut = new SettingRepositoryImpl();
- let settings = Settings.fromJSON({
+ const settings = Settings.fromJSON({
keymaps: {},
search:{
default: 'google',
@@ -24,7 +24,7 @@ describe('SettingRepositoryImpl', () => {
sut.set(settings);
- let actual = sut.get();
+ const actual = sut.get();
expect(actual.properties.hintchars).to.equal('abcd1234');
});
});