Skip to content

Export generateHeaderString or similar testing utility #601

Closed
@tatethurston

Description

When writing an automated test case to test processing a Stripe webhook, I needed to copy the generateHeaderString function (found here:

function generateHeaderString(opts) {
).

It would be great to provide this as an exported module, and include a brief example in the readme using it to write tests against a webhook endpoint.

Activity

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

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