Skip to content

How to unit test this codebase? #87

Open

Description

@wiktoriavh

Acceptance Criteria

  • Discuss how to unit test this code base
  • once on something agreed, add unit tests

Activity

  1. added theissue type on Aug 16, 2026
  2. hmd-ali commented on Aug 16, 2026

    @hmd-ali
    Contributor

    discordjs doesn't really provide a testing suite, meaning we can't really mock a real discord + bot environment.
    We should stick to testing internally used utility functions/helpers. Basically any function that "works" outside of the discord context.

  3. wiktoriavh commented on Aug 19, 2026

    @wiktoriavh
    MemberAuthor

    no, but maybe we can mock discordjs 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions