Files
iNaturalistReactNative/tests/factories/RemoteComment.js
Ryan Stelly b78be9243d lint rule & autofix for "trailing comma" (#3299)
* (lint) MOB-1063 enforce trailing commas

* autofix trailing commas

* manually fix newly introduced maxlen violations

* add trailing comma convention to i18n build
2025-12-22 20:17:13 -06:00

16 lines
459 B
JavaScript

import { define } from "factoria";
import userFactory from "./RemoteUser";
export default define( "RemoteComment", faker => ( {
body: faker.lorem.paragraph( ),
created_at: faker.date.past( ).toISOString( ),
id: faker.number.int( ),
parent_id: faker.number.int( ),
parent_type: "Observation",
updated_at: faker.date.past( ).toISOString( ),
user: userFactory( "RemoteUser" ),
user_id: faker.number.int( ),
uuid: faker.string.uuid( ),
} ) );