Skip to content

Write tests for the existing <GitHubEventAction /> behaviour #16

Closed
@mattxwang

Description

@mattxwang

We should be able to run actual legitimate payloads through <GitHubEventAction /> and ensure that it spits out the right string. The easiest way to do this is to actually pull data from the endpoint.

We should aim for coverage for each event, as well as misconfigured events (maybe a stretch goal). To do this, you may want to get familiar with Jest and the slightly hard-to-google React Testing Library.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions