aboutsummaryrefslogtreecommitdiff
path: root/test/content/usecases/SettingUseCaase.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/content/usecases/SettingUseCaase.test.ts')
-rw-r--r--test/content/usecases/SettingUseCaase.test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/content/usecases/SettingUseCaase.test.ts b/test/content/usecases/SettingUseCaase.test.ts
index 136c5af..cf14e6e 100644
--- a/test/content/usecases/SettingUseCaase.test.ts
+++ b/test/content/usecases/SettingUseCaase.test.ts
@@ -38,7 +38,7 @@ describe('AddonEnabledUseCase', () => {
let sut: SettingUseCase;
beforeEach(() => {
- let testSettings = {
+ const testSettings = {
keymaps: {},
search: {
default: 'google',
@@ -61,10 +61,10 @@ describe('AddonEnabledUseCase', () => {
describe('#reload', () => {
it('loads settings and store to repository', async() => {
- let settings = await sut.reload();
+ const settings = await sut.reload();
expect(settings.properties.hintchars).to.equal('abcd1234');
- let saved = repository.get();
+ const saved = repository.get();
expect(saved.properties.hintchars).to.equal('abcd1234');
});
});