diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index 1bfb35e9dc..ad5d3e58ed 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -3847,6 +3847,7 @@ "assert(switchOfStuff(\"d\") === \"stuff\", 'message: switchOfStuff(\"d\") should have a value of \"stuff\"');", "assert(switchOfStuff(4) === \"stuff\", 'message: switchOfStuff(4) should have a value of \"stuff\"');", "assert(!/else/g.test(code) || !/if/g.test(code), 'message: You should not use any if or else statements');", + "assert(switchOfStuff(\"string-to-trigger-default-case\") === \"stuff\", 'message: You should use a default statement');", "assert(code.match(/break/g).length > 2, 'message: You should have at least 3 break statements');" ], "type": "waypoint",