Open jithine opened 10 years ago
Are you running your test in a browser or in node?
It's on node. It's. Unit test ran via mojito test— Sent from Mailbox for iPhone
On Mon, Jan 27, 2014 at 10:18 AM, Drew Folta notifications@github.com wrote:
Are you running your test in a browser or in node?
Reply to this email directly or view it on GitHub: https://github.com/yahoo/mojito/issues/1314#issuecomment-33400601
I have a model which uses require()
var fs = require('fs');
When I try to unit test this model, the test crashes and throws the following the error.
If I remove the require() statement the test execution will continue to it's logical end.