mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
fix test lint
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user