adding flag for event classes

This commit is contained in:
Yotam Mann 2015-12-06 13:09:17 -05:00
parent 8bb2ee9b02
commit 73a3aec1e3

View file

@ -167,7 +167,7 @@ gulp.task("collectTests", function(done){
if (argv.file){ if (argv.file){
tests = ["../test/*/"+argv.file+".js"]; tests = ["../test/*/"+argv.file+".js"];
} else if (argv.signal || argv.core || argv.component || argv.instrument || } else if (argv.signal || argv.core || argv.component || argv.instrument ||
argv.source || argv.effect || argv.structure){ argv.source || argv.effect || argv.event){
tests = []; tests = [];
if (argv.signal){ if (argv.signal){
tests.push("../test/signal/*.js"); tests.push("../test/signal/*.js");
@ -187,8 +187,8 @@ gulp.task("collectTests", function(done){
if (argv.effect){ if (argv.effect){
tests.push("../test/effect/*.js"); tests.push("../test/effect/*.js");
} }
if (argv.structure){ if (argv.event){
tests.push("../test/structure/*.js"); tests.push("../test/event/*.js");
} }
} }
// console.log(argv.signal === undefined); // console.log(argv.signal === undefined);