-
-
Notifications
You must be signed in to change notification settings - Fork 305
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 flag to require modules before running tests #224
Merged
Merged
Commits on Dec 19, 2015
-
Added rudimentary source map support
The `source-map-support` module enables some rudimentary support for source maps in call stacks, which greatly enhances the developer experience of working with compiled code.
Configuration menu - View commit details
-
Copy full SHA for 737aa42 - Browse repository at this point
Copy the full SHA 737aa42View commit details
Commits on Dec 21, 2015
-
Revert "Added rudimentary source map support"
This reverts commit 737aa42.
Configuration menu - View commit details
-
Copy full SHA for 3f02033 - Browse repository at this point
Copy the full SHA 3f02033View commit details -
This implements
-r
and--require
as command line options@Raynos accurately pointed out that the source map support was a bit too specific, and felt outside of the purview of tape. As a more general solution, this implements the `-r` and `--require` CLI flags, which will allow a user to load node modules before any tests are run. For example, if someon wants to enable source map support in node, they might do: tape -r source-map-support/register test/*.js
Configuration menu - View commit details
-
Copy full SHA for 7ae60f5 - Browse repository at this point
Copy the full SHA 7ae60f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f81dbc - Browse repository at this point
Copy the full SHA 4f81dbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0ca885 - Browse repository at this point
Copy the full SHA d0ca885View commit details -
Add
-r,--require
documentation to README.mdThis can probably be done better, but I think it covers all aspects of this feature.
Configuration menu - View commit details
-
Copy full SHA for 096d2e7 - Browse repository at this point
Copy the full SHA 096d2e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e57f22 - Browse repository at this point
Copy the full SHA 2e57f22View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffa503a - Browse repository at this point
Copy the full SHA ffa503aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4077efe - Browse repository at this point
Copy the full SHA 4077efeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f02249 - Browse repository at this point
Copy the full SHA 9f02249View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.