mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
Added lint ignore comment
This commit is contained in:
@@ -24,7 +24,7 @@ describe('POST /user/auth/social', () => {
|
|||||||
|
|
||||||
it('fails if network is not facebook', async () => {
|
it('fails if network is not facebook', async () => {
|
||||||
await expect(api.post(endpoint, {
|
await expect(api.post(endpoint, {
|
||||||
authResponse: {access_token: randomAccessToken},
|
authResponse: {access_token: randomAccessToken}, // eslint-disable-line camelcase
|
||||||
network: 'NotFacebook',
|
network: 'NotFacebook',
|
||||||
})).to.eventually.be.rejected.and.eql({
|
})).to.eventually.be.rejected.and.eql({
|
||||||
code: 401,
|
code: 401,
|
||||||
@@ -35,7 +35,7 @@ describe('POST /user/auth/social', () => {
|
|||||||
|
|
||||||
it('registers a new user', async () => {
|
it('registers a new user', async () => {
|
||||||
let response = await api.post(endpoint, {
|
let response = await api.post(endpoint, {
|
||||||
authResponse: {access_token: randomAccessToken},
|
authResponse: {access_token: randomAccessToken}, // eslint-disable-line camelcase
|
||||||
network,
|
network,
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ describe('POST /user/auth/social', () => {
|
|||||||
await user.update({ 'auth.facebook.id': facebookId });
|
await user.update({ 'auth.facebook.id': facebookId });
|
||||||
|
|
||||||
let response = await api.post(endpoint, {
|
let response = await api.post(endpoint, {
|
||||||
authResponse: {access_token: randomAccessToken},
|
authResponse: {access_token: randomAccessToken}, // eslint-disable-line camelcase
|
||||||
network,
|
network,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user