Closed kenjiuno closed 3 years ago
Related issues
Just quick idea:
'records.*'
require one or more records, that are all are VALID.'records.*?'
require one or more records, that are all are VALID. Otherwise no record present.Hi, sorry you ran into this issue, and thank you for the report. It looks like this has been already reported in #462, so to consolidate the discussion and efforts, I'm going to close this issue in preference to the previous issue.
I can obtain record list (in JSON) from server. jsonTypes handler passes if record list is filled with designated items. However jsonTypes handler seems to disallow empty record list:
Expected '*' not found (path 'records.*')
repro/test.js:
Run
yarn jest repro
I'm happy if test passes in case that record list will be empty.