Skip to content

Commit

Permalink
fix(test): use a platform agnostic way to run minijasminenode
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhadrin authored and sjelin committed Dec 16, 2014
1 parent 50ee0b4 commit adf30ba
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

var Executor = require('./test/test_util').Executor;
var glob = require('glob').sync;
<<<<<<< HEAD
=======
var spawn = require('child_process').spawn;
var path = require('path');
>>>>>>> fix(test): use a platform agnostic way to run minijasminenode

var passingTests = [
'node lib/cli.js spec/basicConf.js',
Expand Down Expand Up @@ -29,9 +34,9 @@ var passingTests = [
];

passingTests.push(
'node node_modules/.bin/minijasminenode ' +
glob('spec/unit/*.js').join(' ') + ' ' +
glob('website/docgen/spec/*.js').join(' '));
'node node_modules/minijasminenode/bin/minijn ' +
glob('spec/unit/*.js').join(' ') + ' ' +
glob('website/docgen/spec/*.js').join(' '));

var executor = new Executor();

Expand Down

0 comments on commit adf30ba

Please sign in to comment.