fix test lint

This commit is contained in:
Matteo Pagliazzi
2019-10-08 20:45:38 +02:00
parent e37f4467f8
commit 85fb5f33aa
367 changed files with 6635 additions and 6080 deletions

View File

@@ -6,7 +6,7 @@ describe('POST /user/allocate-now', () => {
// More tests in common code unit tests
it('auto allocates all points', async () => {
let user = await generateUser({
const user = await generateUser({
'stats.points': 5,
'stats.int': 3,
'stats.con': 9,
@@ -15,7 +15,7 @@ describe('POST /user/allocate-now', () => {
'preferences.allocationMode': 'flat',
});
let res = await user.post('/user/allocate-now');
const res = await user.post('/user/allocate-now');
await user.sync();
expect(res).to.eql(user.stats);