fix eslint-errors

This commit is contained in:
Michael C
2021-07-04 01:34:31 -04:00
parent a1bcd08658
commit d89b26b77d
71 changed files with 392 additions and 393 deletions

View File

@@ -40,7 +40,7 @@ describe('shadowBanUser', () => {
}
}
})
.catch(err => done("Couldn't call endpoint"));
.catch(() => done("Couldn't call endpoint"));
});
it('Should be able to unban user without unhiding submissions', (done: Done) => {
@@ -60,7 +60,7 @@ describe('shadowBanUser', () => {
}
}
})
.catch(err => done("Couldn't call endpoint"));
.catch(() => done("Couldn't call endpoint"));
});
it('Should be able to ban user and hide submissions from only some categories', (done: Done) => {
@@ -80,7 +80,7 @@ describe('shadowBanUser', () => {
}
}
})
.catch(err => done("Couldn't call endpoint"));
.catch(() => done("Couldn't call endpoint"));
});
it('Should be able to unban user and unhide submissions', (done: Done) => {
@@ -100,7 +100,7 @@ describe('shadowBanUser', () => {
}
}
})
.catch(err => done("Couldn't call endpoint"));
.catch(() => done("Couldn't call endpoint"));
});
it('Should be able to unban user and unhide some submissions', (done: Done) => {
@@ -120,7 +120,7 @@ describe('shadowBanUser', () => {
}
}
})
.catch(err => done("Couldn't call endpoint"));
.catch(() => done("Couldn't call endpoint"));
});
});