Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit adf30ba

Browse files
kayhadrinsjelin
authored andcommitted
fix(test): use a platform agnostic way to run minijasminenode
1 parent 50ee0b4 commit adf30ba

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

scripts/test.js

+8-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
var Executor = require('./test/test_util').Executor;
44
var glob = require('glob').sync;
5+
<<<<<<< HEAD
6+
=======
7+
var spawn = require('child_process').spawn;
8+
var path = require('path');
9+
>>>>>>> fix(test): use a platform agnostic way to run minijasminenode
510

611
var passingTests = [
712
'node lib/cli.js spec/basicConf.js',
@@ -29,9 +34,9 @@ var passingTests = [
2934
];
3035

3136
passingTests.push(
32-
'node node_modules/.bin/minijasminenode ' +
33-
glob('spec/unit/*.js').join(' ') + ' ' +
34-
glob('website/docgen/spec/*.js').join(' '));
37+
'node node_modules/minijasminenode/bin/minijn ' +
38+
glob('spec/unit/*.js').join(' ') + ' ' +
39+
glob('website/docgen/spec/*.js').join(' '));
3540

3641
var executor = new Executor();
3742

0 commit comments

Comments
 (0)