-
Notifications
You must be signed in to change notification settings - Fork 30
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
Make it easy to use with existing tape test. #2
Comments
How about: var tape = require(process.env.with || "tape") so we can do with=prova node test |
@azer that could work but would require rewriting my codebase. My workflow would be to use |
@azer @Raynos Using either https://github.com/thlorenz/proxyquire or https://github.com/felixge/node-sandboxed-module you should be able to add a --tape option to prova right? |
This transform will replace all instances of "tap" or "tape" require statements in a script with require('prova'). This closes azer#2.
This transform will replace all instances of "tap" or "tape" require statements in a script with require('prova'). This closes azer#2.
This transform will replace all instances of "tap" or "tape" require statements in a script with require('prova'). This closes azer#2.
Frame with queryparams
Would love a
prova --tape test.js
command that rewrites thetest.js
file and all its dependencies so thatrequire('tape')
becomesrequire('prova')
.This way whether we use
tape
orprova
is a per user decision rather then a permanent once in the code decision.The text was updated successfully, but these errors were encountered: