Test
Description | Identifier | Count |
Legitimate |
Legitimate | 17 |
can initialize |
Legitimate#constructor | |
legitimate instanceof Legitimate |
Legitimate#constructor | |
get rules |
Legitimate#rules | |
get state |
Legitimate#state | |
get locales |
Legitimate#locales | |
fails without string props |
- | |
setRules |
Legitimate#setRules | |
update |
Legitimate#update | |
flattenResponse |
flattenResponse | 3 |
resolve array |
- | |
resolve object |
- | |
reject |
- | |
validate |
Legitimate#validate | 4 |
mock |
- | |
real |
- | |
complex |
- | 2 |
resolve |
- | |
reject |
- | |
isLegit |
- | 2 |
could reject |
- | |
could resolve |
- | |
locales |
- | 2 |
should be object |
- | |
should have proper properties |
- | |
validators |
- | 15 |
must be object |
validators | |
isText |
isText | 2 |
could resolve |
- | |
could reject |
- | |
notEmpty |
notEmpty | 2 |
could resolve |
- | |
could reject |
- | |
minLowerCaseChars |
minLowerCaseChars | 2 |
could resolve |
- | |
could reject |
- | |
minUpperCaseChars |
minUpperCaseChars | 2 |
could resolve |
- | |
could reject |
- | |
url |
url | 2 |
could resolve |
- | |
could reject |
- | |
2 | ||
could resolve |
- | |
could reject |
- | |
fullName |
fullName | 2 |
could resolve |
- | |
could reject |
- |