Skip to content

Documentation example for __mocks__ implementation #229

Open
@mdpratt

Description

@mdpratt

This package makes mocking on a spec by spec significantly easier. However sometimes I would like to mock a client with a default behavior across many packages; for example, mocking STS' GetCallerIdentityCommand. Some documentation on how to put this into a toplevel __mocks__ would be appreciated.

If I figure it out, I'll open a pull request, but automocks is something that trips me up almost every time getting it just right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions