Open winstromming opened 9 years ago
Spawning and executing a child process for gruntfile
and gulpfile
output testing:
var exec = require('child_process').exec
describe('grunt', function () {
before(function (done) {
exec('./node_modules/.bin/grunt --base ./ --gruntfile ./tests/gruntfile.js', done)
})
})
describe('gulp', function () {
before(function (done) {
exec('./node_modules/.bin/gulp --gulpfile ./tests/gulpfile.js', done)
})
})
Problem:
Objective: