aboutsummaryrefslogtreecommitdiff
path: root/test/content/repositories/SettingRepository.test.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-12-22 11:10:36 +0900
committerGitHub <noreply@github.com>2019-12-22 11:10:36 +0900
commitb1a6f374dca078dee2406ebe049715b826e37ca2 (patch)
tree5367c48648e2018f55f12d847baba94559e10040 /test/content/repositories/SettingRepository.test.ts
parentb2dcdedad729ff7087867da50e20578f9fc8fb29 (diff)
parentda72c2ddd916d79d134662e3985b53a4ac78af7a (diff)
Merge pull request #690 from ueokande/eslint-and-prettier
Eslint and prettier
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');
});
});