sparkletown/sparkle

View on GitHub
scripts/simulator/create-bots.config.json5.example

Summary

Maintainability
Test Coverage
// For more info @see ./scripts/simulator/simulator.config.json5.example


{
  credentials: "./simulator/simulator.credentials.json",
  projectId: "simulator-project",

  // with keepAlive set to false, script will exit as soon as its job is done
  keepAlive: false,

  // empty array means no simulations will run, if this field is missing, all simulations will run by default
  simulate: [],

  log: {
    stack: true,
    verbose: true,
  },

  user: {
    count: 99,
    // true is set so missing users are created, the purpose of this script
    createMissing: true,
    scriptTag: 'bot',
    // false is set so no users are removed at script's end, that's counter to the purpose of this script
    cleanup: false,
  },

  venue: {
    id: 'venue id',
  },

}