Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Documentation example for __mocks__ implementation #229

Copy link
Copy link
Open
@mdpratt

Description

@mdpratt
Issue body actions

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.

lgcantarelli, JannikWempe and crs1138

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.