Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
make syncing call interval 3 sec
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Feb 27, 2017
1 parent 03228cb commit ea23a6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/components/GithubSettings.vue
Expand Up @@ -37,7 +37,7 @@ export default {
if (!this.syncing) {
clearInterval(interval)
}
}, 1000)
}, 3000)
}
})
},
Expand Down
4 changes: 2 additions & 2 deletions frontend/tests/GithubSettings.js
Expand Up @@ -131,12 +131,12 @@ describe('GithubSettings', () => {
wrapper.find(Messages)[0].propsData().messages
.should.deep.equal([['warning', 'Syncing account. Please wait..']])
done()
}, 500)
}, 2000)
setTimeout(() => {
wrapper.text().should.include('name1')
wrapper.text().should.include('name2')
done()
}, 1500)
}, 4000)
})

})

0 comments on commit ea23a6f

Please sign in to comment.