fix(seed): Squashed a bug from Disable an element using Jquery

This commit is contained in:
Tarun Singh
2018-02-06 21:23:07 +05:30
committed by Stuart Taylor
parent d3b663338c
commit 9f7f0077f2

View File

@ -792,7 +792,7 @@
"</div>" "</div>"
], ],
"tests": [ "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($(\"#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.');" "assert(!code.match(/disabled[^<]*>/g), 'message: Only use jQuery to add these classes to the element.');"
], ],