Skip to content

Add integration tests as end-to-end tests fail for pull requests coming from forks #32

Closed
@gr2m

Description

@gr2m

we considered using pull_request_target in order to give access to repository secrets, but decided against it. See #17 (comment) for more context.

We want to continue running the end-to-end tests as we have them anyway, but we want to add integration tests with mocked requests which won't require credentials and can also be run locally with npm test

We use Node's built-in fetch. Here are some relevant guides for testing/mocking

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions