refactor(client): remove hasNoTests by challenge type (#54494)

Co-authored-by: Naomi <nhcarrigan@gmail.com>
This commit is contained in:
Shaun Hamilton
2024-04-26 09:30:10 +02:00
committed by GitHub
parent 918e1a473d
commit b334ef64ff
4 changed files with 31 additions and 38 deletions
-7
View File
@@ -52,13 +52,6 @@ export const challengeTypes = {
multifilePythonCertProject
};
export const hasNoTests = (challengeType: number): boolean =>
challengeType === multipleChoice ||
challengeType === theOdinProject ||
challengeType === video ||
challengeType === dialogue ||
challengeType === fillInTheBlank;
export const hasNoSolution = (challengeType: number): boolean => {
const noSolutions = [
backend,