fix(seed): message update to the test (#16718)

pull/18182/head
Neenad Ingole 2018-02-26 18:07:43 +05:30 committed by Stuart Taylor
parent 399ba38fb0
commit d8fdaea661
1 changed files with 2 additions and 1 deletions

View File

@ -168,7 +168,8 @@
],
"tests": [
"assert($(\"button\").hasClass(\"animated\") && $(\"button\").hasClass(\"bounce\"), 'message: Use the jQuery <code>addClass&#40&#41</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,