I have the following test code that is being ran by jasmine-node in a file called bob_test.spec.js
bob_test.spec.js
require(\'./bob\'); describe(\"Bob\", functi
require returns an object, you should store it somewhere
var Bob = require('./bob');
and then use this object
var bobInstance = new Bob();