Files
talk/tests/e2e/mocks.js
T
2016-11-29 17:36:17 -05:00

21 lines
421 B
JavaScript

const Comments = require('../../models/comment')
const Users = require('../../models/user')
const Actions = require('../../models/action')
const mockComments = [
{
body: 'Pangolin pups are called pangopups.',
author_id: '123',
id: 'abc'
},
{
body: 'Baby whales grow at up to 8lbs an hour.',
author_id: '456',
id: 'def'
}
];
console.log('Loading mocks.');
Comments.create(mockComments);