added realm to jspg processing
This commit is contained in:
@ -2,11 +2,16 @@
|
||||
{
|
||||
"description": "minLength validation",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"minLength_0_0": {
|
||||
"minLength": 2
|
||||
"types": [
|
||||
{
|
||||
"name": "minLength_0_0",
|
||||
"schemas": {
|
||||
"minLength_0_0": {
|
||||
"minLength": 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -47,7 +52,7 @@
|
||||
},
|
||||
{
|
||||
"description": "one grapheme is not long enough",
|
||||
"data": "💩",
|
||||
"data": "\ud83d\udca9",
|
||||
"schema_id": "minLength_0_0",
|
||||
"action": "validate",
|
||||
"expect": {
|
||||
@ -59,11 +64,16 @@
|
||||
{
|
||||
"description": "minLength validation with a decimal",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"minLength_1_0": {
|
||||
"minLength": 2
|
||||
"types": [
|
||||
{
|
||||
"name": "minLength_1_0",
|
||||
"schemas": {
|
||||
"minLength_1_0": {
|
||||
"minLength": 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user