Moved api into it's own folder
This commit is contained in:
10
api/src/database/seeds/development/comment.ts
Normal file
10
api/src/database/seeds/development/comment.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import faker from 'faker';
|
||||
|
||||
import Comment from 'entities/Comment';
|
||||
|
||||
const generateComment = (data: Partial<Comment> = {}): Partial<Comment> => ({
|
||||
body: faker.lorem.paragraph(),
|
||||
...data,
|
||||
});
|
||||
|
||||
export default generateComment;
|
||||
Reference in New Issue
Block a user