fix(seed): Squashed a bug from Disable an element using Jquery
parent
d3b663338c
commit
9f7f0077f2
|
@ -792,7 +792,7 @@
|
|||
"</div>"
|
||||
],
|
||||
"tests": [
|
||||
"assert($(\"#target1\") && $(\"#target1\").prop(\"disabled\"), 'message: Disable your <code>target1</code> button.');",
|
||||
"assert($(\"#target1\") && $(\"#target1\").prop(\"disabled\") && code.match(/[\"']disabled[\"'],( true|true)/g), 'message: Disable your <code>target1</code> button.');",
|
||||
"assert($(\"#target2\") && !$(\"#target2\").prop(\"disabled\"), 'message: Do not disable any other buttons.');",
|
||||
"assert(!code.match(/disabled[^<]*>/g), 'message: Only use jQuery to add these classes to the element.');"
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue