chore: More linting
This commit is contained in:
parent
8e187a947a
commit
a416b8b860
134 changed files with 1041 additions and 1055 deletions
|
@ -1,13 +1,12 @@
|
|||
module.exports = function tests(store, config, chai) {
|
||||
|
||||
describe('Oauth via Github', () => {
|
||||
it('should trigger Oauth via Github', done => {
|
||||
it('should trigger Oauth via Github', (done) => {
|
||||
chai
|
||||
.request(config.backend)
|
||||
.post('/oauth/init')
|
||||
.send({
|
||||
provider: 'github',
|
||||
language: 'en'
|
||||
language: 'en',
|
||||
})
|
||||
.end((err, res) => {
|
||||
res.should.have.status(200)
|
||||
|
@ -18,13 +17,13 @@ module.exports = function tests(store, config, chai) {
|
|||
})
|
||||
})
|
||||
|
||||
it('should trigger Oauth via Google', done => {
|
||||
it('should trigger Oauth via Google', (done) => {
|
||||
chai
|
||||
.request(config.backend)
|
||||
.post('/oauth/init')
|
||||
.send({
|
||||
provider: 'github',
|
||||
language: 'en'
|
||||
language: 'en',
|
||||
})
|
||||
.end((err, res) => {
|
||||
res.should.have.status(200)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue