chore: update sub-deps and fix lint

This commit is contained in:
Matteo Pagliazzi
2020-07-01 18:20:18 +02:00
parent b9d42bf0bc
commit 3d5630d5a2
72 changed files with 2519 additions and 3931 deletions
@@ -1,4 +1,3 @@
import { v4 as generateUUID } from 'uuid';
import { find } from 'lodash';
import {
@@ -325,7 +324,6 @@ describe('POST /user/class/cast/:spellId', () => {
expect(result.user.stats.mp).to.equal(10);
});
// TODO find a way to have sinon working in integration tests
// it doesn't work when tests are running separately from server
it('passes correct target to spell when targetType === \'tasks\'');
@@ -4,7 +4,6 @@ import {
translate as t,
} from '../../../../helpers/api-integration/v3';
describe('PUT /user', () => {
let user;
@@ -53,7 +52,6 @@ describe('PUT /user', () => {
expect(user.tags.length).to.be.eql(userTags.length + 1);
});
it('validates profile.name', async () => {
await expect(user.put('/user', {
'profile.name': ' ', // string should be trimmed
@@ -10,7 +10,6 @@ import {
sha1Encrypt as sha1EncryptPassword,
} from '../../../../../../website/server/libs/password';
describe('POST /user/auth/local/login', () => {
let api;
let user;
@@ -9,7 +9,6 @@ import {
sha1Encrypt as sha1EncryptPassword,
} from '../../../../../../website/server/libs/password';
const ENDPOINT = '/user/auth/update-email';
describe('PUT /user/auth/update-email', () => {