github.com/yrj2011/jx-test-infra@v0.0.0-20190529031832-7a2065ee98eb/triage/node_modules/jasmine/bin/jasmine.js (about) 1 #!/usr/bin/env node 2 3 var path = require('path'), 4 Command = require('../lib/command.js'), 5 Jasmine = require('../lib/jasmine.js'); 6 7 var jasmine = new Jasmine({ projectBaseDir: path.resolve() }); 8 var examplesDir = path.join(path.dirname(require.resolve('jasmine-core')), 'jasmine-core', 'example', 'node_example'); 9 var command = new Command(path.resolve(), examplesDir, console.log); 10 11 command.run(jasmine, process.argv.slice(2));