I have a nodeunit test that uses require('nodeunit').utils.sandbox. When I
run the test I get "ReferenceError: require is not defined". Maybe I need
to run the test using node instead of the nodeunit command. Can someone
point me to an example of a nodeunit test that uses that feature?
--
R. Mark
On Sat, Feb 4, 2012 at 8:01 PM, Mark Volkmann wrote:
> I have a nodeunit test that uses require('nodeunit').utils.sandbox. When I
> run the test I get "ReferenceError: require is not defined". Maybe I need to
> run the test using node instead of the nodeunit command. Can someone point
> me to an e
On Sat, Feb 4, 2012 at 10:27 PM, Martin Cooper wrote:
> On Sat, Feb 4, 2012 at 8:01 PM, Mark Volkmann
> wrote:
> > I have a nodeunit test that uses require('nodeunit').utils.sandbox. When
> I
> > run the test I get "ReferenceError: require is not defined". Maybe I
> need to
> > run the test usin
On Sun, Feb 5, 2012 at 5:04 AM, Mark Volkmann wrote:
> On Sat, Feb 4, 2012 at 10:27 PM, Martin Cooper wrote:
>>
>> On Sat, Feb 4, 2012 at 8:01 PM, Mark Volkmann
>> wrote:
>> > I have a nodeunit test that uses require('nodeunit').utils.sandbox. When
>> > I
>> > run the test I get "ReferenceError:
On Sun, Feb 5, 2012 at 12:49 PM, Martin Cooper wrote:
> On Sun, Feb 5, 2012 at 5:04 AM, Mark Volkmann
> wrote:
> > On Sat, Feb 4, 2012 at 10:27 PM, Martin Cooper
> wrote:
> >>
> >> On Sat, Feb 4, 2012 at 8:01 PM, Mark Volkmann <
> r.mark.volkm...@gmail.com>
> >> wrote:
> >> > I have a nodeunit