@@ -454,7 +454,7 @@ describe('Database clients', async () => {
454454 console . log ( 'TEST USER:' , JSON . stringify ( TEST_USER , null , 2 ) ) ;
455455 console . log ( 'USERS:' , JSON . stringify ( users , null , 2 ) ) ;
456456 // remove password as it will have been hashed
457- // eslint-disable-next-line no-unused-vars
457+
458458 const { password : _ , ...TEST_USER_CLEAN } = TEST_USER ;
459459 const cleanUsers = cleanResponseData ( TEST_USER_CLEAN , users ) ;
460460 expect ( cleanUsers ) . to . deep . include ( TEST_USER_CLEAN ) ;
@@ -500,9 +500,9 @@ describe('Database clients', async () => {
500500
501501 it ( 'should be able to find a user' , async function ( ) {
502502 const user = await db . findUser ( TEST_USER . username ) ;
503- // eslint-disable-next-line no-unused-vars
503+
504504 const { password : _ , ...TEST_USER_CLEAN } = TEST_USER ;
505- // eslint-disable-next-line no-unused-vars
505+
506506 const { password : _2 , _id : _3 , ...DB_USER_CLEAN } = user ;
507507
508508 expect ( DB_USER_CLEAN ) . to . eql ( TEST_USER_CLEAN ) ;
@@ -511,7 +511,7 @@ describe('Database clients', async () => {
511511 it ( 'should be able to filter getUsers' , async function ( ) {
512512 // uppercase the filter value to confirm db client is lowercasing inputs
513513 const users = await db . getUsers ( { username : TEST_USER . username . toUpperCase ( ) } ) ;
514- // eslint-disable-next-line no-unused-vars
514+
515515 const { password : _ , ...TEST_USER_CLEAN } = TEST_USER ;
516516 const cleanUsers = cleanResponseData ( TEST_USER_CLEAN , users ) ;
517517 expect ( cleanUsers [ 0 ] ) . to . eql ( TEST_USER_CLEAN ) ;
@@ -564,7 +564,7 @@ describe('Database clients', async () => {
564564
565565 const users = await db . getUsers ( ) ;
566566 // remove password as it will have been hashed
567- // eslint-disable-next-line no-unused-vars
567+
568568 const { password : _ , ...TEST_USER_CLEAN } = TEST_USER ;
569569 const cleanUsers = cleanResponseData ( TEST_USER_CLEAN , users ) ;
570570 expect ( cleanUsers ) . to . deep . include ( TEST_USER_CLEAN ) ;
0 commit comments