I tried to run tests for Derbyjs on my Ubuntu 12.10. First I got
error that mocha
doesn't exists inside
./node_modules/racer/node_modules/mocha/bin/mocha: . I wonder why mocha is required in racer when I am trying to run tests for
derby?
Secondly after I installed mocha in racer, I get following error
Cannot find module 'expect.js'
Even after doing `npm install expect` both inside derby and racer, I get the same error.
I also tried loading expect from mocha.opts. I got following error
/home/juzer/Desktop/Open-Source/derby/node_modules/racer/node_modules/expect/expect.js:17
expect.version = '0.0.2';
^
ReferenceError: expect is not defined
Can somebody please guide me how can I run tests with derby. Tests with racer are running fine.