-
Notifications
You must be signed in to change notification settings - Fork 0
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
Generating deeper structures #28
Labels
enhancement
New feature or request
Comments
thx for reporting this @zakgof!, I will look into it... |
nshimiye
pushed a commit
that referenced
this issue
Jan 23, 2019
With the need for javascript based tests that are executed in the browser, we are adding cypress test runner to make it easy to run these tests re #28
BUG FIXING Reported:
Problem:
Possible cause: (debugging, takes most of the time)
Proposed solution:
|
nshimiye
pushed a commit
that referenced
this issue
Jan 25, 2019
use recursion to execute functions inside inner objects of the provided schema BREAKING CHANGE: react-mock is able to parse both inner objects and arrays fix #28
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I'm trying to mock a structure like this:
generator.next(3, {key : Faker.lorem.word, inner: {prop1: Faker.lorem.word, prop2: Faker.lorem.sentence}})
the inner properties prop1 and prop2 do not get generated:
{"id":"0695987d-8dbc-4e1c-81a6-2de839b1eb03","key":"vel","inner":{}}
The text was updated successfully, but these errors were encountered: