Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Build initial test suite #147

@aedwardg

Description

@aedwardg

Purpose

To incorporate an automated test suite for unit testing.

Is your feature request related to a problem? Please describe.

We're currently manually testing everything. This is a long, tedious, and error-prone process.

Proposed Solution

Build out an initial test suite with TypeScript and Jest.
I suggest using TypeScript here to make it easier to mock out Discord.js, and Jest because it has built-in mocking, coverage, and many other features without the need to add third-party libraries.

Acceptance Criteria

Please list the requirements the implementation of this feature should meet.

  • Tests are organized, readable and test the correct aspects of our bot
  • Tests can be run automatically by GitHub Actions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions