(challengeData: BuildChallengeData)
| 100 | }; |
| 101 | |
| 102 | export function canBuildChallenge(challengeData: BuildChallengeData): boolean { |
| 103 | const { challengeType } = challengeData; |
| 104 | return Object.prototype.hasOwnProperty.call(buildFunctions, challengeType); |
| 105 | } |
| 106 | |
| 107 | export async function buildChallenge( |
| 108 | challengeData: BuildChallengeData, |
no outgoing calls
no test coverage detected