1 | const faker = require("faker");
|
2 | const _ = require("lodash");
|
3 |
|
4 | module.exports = count =>
|
5 | _.range(count).map((val, index) => ({
|
6 | id: faker.random.uuid(),
|
7 | name: faker.name.lastName(),
|
8 | tag: faker.random.arrayElement(["CAT", "DOG", "RABBIT"]),
|
9 | }));
|