Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add throwOnNotFound method #225

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Oct 29, 2018

  1. Add throwOnUnresolvedImports method

    Add an optional configuration function, similar in API to noCallThru,
    that will force Proxyquire to throw an error if one of the stub keys is
    not resolvable. Currently, it silently stubs out a module that is not
    utilized by the object being proxyquired.
    
    The intended use case is to aid in refactoring and debugging. Test
    suites may optionally enable this feature so that developers get a
    meaningful message when they attempt to proxyquire an import that is not
    used, as, generally, this is a result of forgetting to update a
    proxyquire statement after changing the name or imports of a module.
    jacobsmith-fusionalliance committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    f1d871f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcc9d1c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a41e995 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a424158 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2018

  1. Configuration menu
    Copy the full SHA
    3a79f3d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7d6ea4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    663d8ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e75e3fe View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2018

  1. Update README.md

    Co-Authored-By: jacobsmith-fusionalliance <[email protected]>
    bendrucker and jacobsmith-fusionalliance authored Dec 13, 2018
    Configuration menu
    Copy the full SHA
    4add017 View commit details
    Browse the repository at this point in the history