Skip to content

How to randomize buildList results #34

@ahahn95

Description

@ahahn95

BuildList always returns the same result, even though I'm using faker to try to auto generate values. Is there a way this can be randomized?

Example:

const results = myFactory.buildList(3);

Expected

{
[dayOftheWeek: 'Tuesday'],
[dayOftheWeek: 'Wednesday'],
[dayOftheWeek: 'Friday'],
}

Actual

{
[dayOftheWeek: 'Tuesday'],
[dayOftheWeek: 'Tuesday'],
[dayOftheWeek: 'Tuesday'],
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions