aboutsummaryrefslogtreecommitdiff
path: root/test/content/usecases/KeymapUseCase.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/content/usecases/KeymapUseCase.test.ts')
-rw-r--r--test/content/usecases/KeymapUseCase.test.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/content/usecases/KeymapUseCase.test.ts b/test/content/usecases/KeymapUseCase.test.ts
index 598d5a3..032d4fc 100644
--- a/test/content/usecases/KeymapUseCase.test.ts
+++ b/test/content/usecases/KeymapUseCase.test.ts
@@ -52,7 +52,7 @@ class MockAddressRepository implements AddressRepository {
describe('KeymapUseCase', () => {
context('with no-digis keymaps', () => {
- let settings = Settings.fromJSON({
+ const settings = Settings.fromJSON({
keymaps: {
k: {type: 'scroll.vertically', count: -1},
j: {type: 'scroll.vertically', count: 1},
@@ -88,7 +88,7 @@ describe('KeymapUseCase', () => {
});
context('when keymaps containing numeric mappings', () => {
- let settings = Settings.fromJSON({
+ const settings = Settings.fromJSON({
keymaps: {
20: {type: "scroll.top"},
g5: {type: 'scroll.bottom'},
@@ -132,7 +132,7 @@ describe('KeymapUseCase', () => {
});
context('when the keys are mismatched with the operations', () => {
- let settings = Settings.fromJSON({
+ const settings = Settings.fromJSON({
keymaps: {
gg: {type: "scroll.top"},
G: {type: "scroll.bottom"},
@@ -170,7 +170,7 @@ describe('KeymapUseCase', () => {
});
context('when the site matches to the blacklist', () => {
- let settings = Settings.fromJSON({
+ const settings = Settings.fromJSON({
keymaps: {
k: {type: 'scroll.vertically', count: -1},
a: {type: 'addon.enable'},
@@ -197,7 +197,7 @@ describe('KeymapUseCase', () => {
});
context('when the site matches to the partial blacklist', () => {
- let settings = Settings.fromJSON({
+ const settings = Settings.fromJSON({
keymaps: {
k: {type: 'scroll.vertically', count: -1},
j: {type: 'scroll.vertically', count: 1},