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

Rewrite custom require hook & source map tests #73

Merged
merged 3 commits into from
Dec 6, 2015

Commits on Dec 3, 2015

  1. Configuration menu
    Copy the full SHA
    7d1fb6a View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2015

  1. test wrapping of custom require hooks

    Use a spy to verify custom require hooks are wrapped correctly. Remove the more
    complicated test using babel-register and clean up dependencies. Stop sharing an
    nyc instance between the wrap tests.
    novemberborn committed Dec 6, 2015
    Configuration menu
    Copy the full SHA
    78396e4 View commit details
    Browse the repository at this point in the history
  2. rewrite source-map-cache tests

    Use source-map-fixtures to get a fixture file with an inline source map. Add a
    script to generate a coverage report for this specific fixture. Rewrite tests to
    use the fixture, without (too much) hardcoding of values.
    
    This will make it easier to upgrade the fixture in the future, as well as
    regenerate the coverage report.
    novemberborn committed Dec 6, 2015
    Configuration menu
    Copy the full SHA
    f410b7c View commit details
    Browse the repository at this point in the history