-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.expect('jsonTypes', 'records.*', {})
does not allow an empty array
#529
Comments
Just quick idea:
|
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: