Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76fae2f

Browse files
author
Antonio Scandurra
committed
📝 Better settings
1 parent 8cc26e0 commit 76fae2f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@
7373
"configSchema": {
7474
"fetchIntervalInSeconds": {
7575
"title": "Fetch Interval (in seconds)",
76-
"description": "Specify how frequently this package should fetch the remote. (0 = never)",
76+
"description": "Specify how frequently this package should automatically fetch remotes. (0 = never)",
7777
"type": "integer",
78-
"default": 60,
78+
"default": 30,
7979
"minimum": 0,
8080
"order": 1
8181
}

spec/git/push-pull-view-model-spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ describe('PushPullViewModel', () => {
3535
let parentRepo
3636

3737
beforeEach(async () => {
38+
jasmine.Clock.useMock()
39+
3840
const {clonedRepository, parentRepository} = await cloneRepository()
3941

4042
repoPath = clonedRepository
@@ -100,8 +102,6 @@ describe('PushPullViewModel', () => {
100102

101103
describe('fetch', () => {
102104
it('performs fetches automatically every `github.fetchIntervalInSeconds` seconds', async () => {
103-
jasmine.Clock.useMock()
104-
105105
const parentGitService = new GitService(GitRepositoryAsync.open(parentRepo))
106106
await parentGitService.commit('Commit 1')
107107
await parentGitService.commit('Commit 2')

0 commit comments

Comments
 (0)