fix(seed): message update to the test (#16718)
parent
399ba38fb0
commit
d8fdaea661
|
@ -168,7 +168,8 @@
|
|||
],
|
||||
"tests": [
|
||||
"assert($(\"button\").hasClass(\"animated\") && $(\"button\").hasClass(\"bounce\"), 'message: Use the jQuery <code>addClass()</code> function to give the classes <code>animated</code> and <code>bounce</code> to your <code>button</code> elements.');",
|
||||
"assert(!code.match(/class.*animated/g), 'message: Only use jQuery to add these colors to the element.');"
|
||||
"assert(!code.match(/class.*animated/g), 'message: Only use jQuery to add these colors to the element.');",
|
||||
"assert(code.match(/\\$\\(document\\)\\.ready\\(function.*(\\s|\\n)*.*button.*.addClass.*\\);/g), 'message: Your jQuery code should be within the <code>$(document).ready();</code> function.');"
|
||||
],
|
||||
"type": "waypoint",
|
||||
"challengeType": 0,
|
||||
|
|
Loading…
Reference in New Issue