add ignore clauses to tests

This commit is contained in:
Michael C
2023-02-20 22:20:47 -05:00
parent c84eb839a0
commit f70a26009c
6 changed files with 12 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ export const isUserTempVIP = async (hashedUserID: HashedUserID, videoID: VideoID
try {
const reply = await redis.get(tempVIPKey(hashedUserID));
return reply && reply == channelID;
} catch (e) {
} catch (e) /* istanbul ignore next */ {
Logger.error(e as string);
return false;
}