jakethedev/beatbattlebot

CLI Test Harness and Mocks - Improve Workflow

jakethedev opened this issue · 1 comments

Testing needs to be way better than "null" lol. The big win here is being able to "run commands" and test stuff two major ways: npm run test invoking test.js (unit, integ) and npm run cli as a nodemon cli process for direct command interaction

Reqs

  • npm test commands for frameworks options
    • pick framework: JEST!
    • standard test
    • coverage
    • watcher
  • mock channel generator
  • mock message object generator
  • mock user object generator
    • admin flag
    • role options

Closed in 7b4cb7