Headless option for ui test (#1784)

This commit is contained in:
YumaMatsuura
2018-07-10 20:42:56 +09:00
committed by Nick O'Leary
parent 1bf4addf63
commit 1a544b3b82
2 changed files with 9 additions and 4 deletions

View File

@@ -24,6 +24,10 @@ module.exports = function(grunt) {
nodemonArgs.push(flowFile);
}
var nonHeadless = grunt.option('non-headless');
if (nonHeadless) {
process.env.NODE_RED_NON_HEADLESS = 'true';
}
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
paths: {