Skip to content

Commit 7cac87f

Browse files
author
Emmanouil Konstantinidis
committed
Coverage
1 parent 2994a1d commit 7cac87f

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
},
121121
"homepage": "https://github.com/ekonstantinidis/gitify",
122122
"dependencies": {
123-
"auto-launch": "^0.1.18",
123+
"auto-launch": "=0.1.18",
124124
"bootstrap": "=3.3.4",
125125
"browserify": "=10.2.1",
126126
"font-awesome": "=4.3.0",

src/js/__tests__/stores/settings.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,26 @@ describe('Tests for SettingsStore', function () {
3939
it('should get the settings', function () {
4040

4141
spyOn(SettingsStore, 'trigger');
42-
4342
expect(SettingsStore.getSettings().participating).toBe(false);
4443

4544
});
4645

4746
it('should set a setting', function () {
4847

4948
spyOn(SettingsStore, 'trigger');
50-
5149
SettingsStore.onSetSetting('participating', true);
52-
5350
expect(SettingsStore.getSettings().participating).toBe(true);
5451

5552
});
5653

54+
it('should set the setting: openAtStartup ', function () {
55+
56+
spyOn(SettingsStore, 'trigger');
57+
SettingsStore.onSetSetting('openAtStartup', true);
58+
expect(SettingsStore.getSettings().openAtStartup).toBe(true);
59+
60+
});
61+
5762
});
5863

5964
describe('Tests for SettingsStore', function () {

0 commit comments

Comments
 (0)