A Pen by Radoslaw Scheibinger on CodePen.
Last active
August 29, 2015 14:17
-
-
Save scheibinger/f6e172f1102607488e9f to your computer and use it in GitHub Desktop.
ogQOjK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe(‘input widget’, function(){ | |
describe(‘with regex validation’, function(){ | |
describe('when validation is triggered', function(){ | |
[INVALID_VALUE_EX1, INVALID_VALUE_EX2].forEach(function(value){ | |
it("for invalid value: " + value + ' it should display error', function(){ | |
expect($error).to.be.visible; | |
}) | |
}); | |
}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment