fix(learn): tests for python video lessons (#38600)
* fix: improve tests for video challenges * fix: remove unused challenges + get rid of no description warning * fix: remove non-existent challenges from meta
This commit is contained in:
@ -1,7 +1,10 @@
|
||||
const crypto = require('crypto');
|
||||
|
||||
function createChallengeNode(challenge, reporter) {
|
||||
if (typeof challenge.description[0] !== 'string') {
|
||||
if (
|
||||
typeof challenge.description[0] !== 'string' &&
|
||||
challenge.challengeType !== 11
|
||||
) {
|
||||
reporter.warn(`
|
||||
|
||||
${challenge.title} has a description that will break things!
|
||||
|
Reference in New Issue
Block a user