Create unit tests for IRC action handler functionality #378
Labels
good first issue
Good for newcomers
help wanted
Anyone is welcome to help us with this!
IRC
Issues relating to the IRC bridge
quality assurance
CI tests, unit tests, integration tests, any kind of testing
Milestone
Summary
IRC messages can also contain actions (/me). We currently do not have unit tests for this functionality.
Background
Is your improvement related to a problem? Please describe:
Not related to a direct problem.
Describe the solution you'd like:
Unit testing needs to cover various ACTION commands to make sure everything works smoothly.
Describe alternatives you've considered:
No other alternatives.
Details
The girc library makes use of an
isAction
function to see if a given message contains an action (i.e. /me). We need to figure out the best way to mock an action and test for it.Outcome
IRC actions are fully tested.
The text was updated successfully, but these errors were encountered: