Skip to content

Commit

Permalink
run qunit synchronously
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed Jul 3, 2019
1 parent 375e9cd commit d6502a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
*/

import gulp from 'gulp';
import qunit from 'node-qunit-phantomjs';
import requireDir from 'require-dir';
import runSequence from 'run-sequence';
import livereload from 'gulp-livereload';
import { execSync } from 'child_process';
var phpunit = require( 'gulp-phpunit' );

requireDir( './gulp-tasks' );
Expand Down Expand Up @@ -89,7 +89,7 @@ gulp.task( 'default', () => {
} );

gulp.task( 'qunit', function() {
return qunit( './tests/qunit/index.html' );
execSync( 'node-qunit-phantomjs ./tests/qunit/index.html', { stdio: [ 0, 1, 2 ] } );
} );

gulp.task( 'phpunit', function() {
Expand Down

0 comments on commit d6502a2

Please sign in to comment.