do-something-normal-with-complex-exemplars.fixture.js 779 B

12345678910111213141516
  1. module.exports = {
  2. friendlyName: 'Do something normal, with quite a few complex exemplars',
  3. inputs: {
  4. users: { example: require('./USERS_EXEMPLAR.fixture'), required: true },
  5. availableSpecies: { example: require('./SPECIES_EXEMPLAR.fixture'), defaultsTo: [] },
  6. foo: { example: require('./USERS_EXEMPLAR.fixture'), required: true },
  7. bar: { example: require('./USERS_EXEMPLAR.fixture'), required: true }
  8. },
  9. exits: {
  10. success: { outputExample: require('./USERS_EXEMPLAR.fixture') },
  11. foo: { outputExample: require('./USERS_EXEMPLAR.fixture') },
  12. bar: { outputExample: require('./USERS_EXEMPLAR.fixture') },
  13. uhOh: { outputExample: [{ x: 32, y: 49, z: -238, t: 1464292613806 }] }
  14. },
  15. fn: function (inputs, exits) { return exits.success(); }
  16. };