Skip to content

Commit

Permalink
Move -R json so it's not between the file stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottFreeCode authored Sep 14, 2017
1 parent 69dc39c commit 65f5098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/compiler-globbing.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var path = require('path');

describe('globbing like --compilers', function () {
it('should find a file of each type', function (done) {
exec('"' + process.execPath + '" "' + path.join('bin', 'mocha') + '" --require coffee-script/register --require test/compiler-fixtures/foo -R json "test/compiler/*.@(coffee|foo)"', { cwd: path.join(__dirname, '..', '..') }, function (error, stdout) {
exec('"' + process.execPath + '" "' + path.join('bin', 'mocha') + '" -R json --require coffee-script/register --require test/compiler-fixtures/foo "test/compiler/*.@(coffee|foo)"', { cwd: path.join(__dirname, '..', '..') }, function (error, stdout) {
if (error && !stdout) { return done(error); }
var results = JSON.parse(stdout);
expect(results).to.have.property('tests');
Expand Down

0 comments on commit 65f5098

Please sign in to comment.