Skip to content

feat(dismock): Gateway Mocking #28

@superloach

Description

@superloach

Is your feature request related to a problem? Please describe.
I want to be able to mock UpdateStatus calls.

Describe the solution you'd like
I'd like a mock Gateway to be implemented, similar to the mock Session, which allows receiving events from the client. Sending isn't really necessary, since you can just call handlers with event structures.

Describe alternatives you've considered
I've considered passing an interface to my functions which make UpdateStatus calls, but that just feels weird.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions