2013/1/22 Matt Walters <[email protected]>

> I built a nearly identical module with a nearly identical name. :P
>
> https://github.com/mateodelnorte/mockrequire
>
> 'npm install mockrequire' will get it.
>


Wow, I didn't see yours when i did mine, I had a look at your code and for
instance this wont work for me:

https://github.com/mateodelnorte/mockrequire/blob/master/index.js#L43

I use the "require" from the caller which is supposed to be at the same
level that the system under test. Another thing that I have to do in
mockuire is to copy globals to the vm

Mine still have some bugs, for instance i can't use __dirname or
__filename, not a biggy.

Having said that I have no problem to deprecate mine and contrib yours or
something alike

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to