You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to pass in --grep = 'test name' to my task mochaTest:android. How do I do that?
I've been trying this for a while and tried following.
tasks:[{
grunt:true,
args:['mochaTest:android'],
options: ['--grep=test_names'],
}, {
grunt:true,
args:['mochaTest:android'],
options:['--grep=test_names'],
}]
}
to be clear I was able to passin correct arguments from the command line/std in but I want to be able to pass arguments from within the task definition
I need to pass in --grep = 'test name' to my task mochaTest:android. How do I do that?
I've been trying this for a while and tried following.
tasks:[{
grunt:true,
args:['mochaTest:android'],
options: ['--grep=test_names'],
}, {
grunt:true,
args:['mochaTest:android'],
options:['--grep=test_names'],
}]
}
tasks:[{
grunt:true,
args:['mochaTest:android --grep='test_name'],
}, {
grunt:true,
args:['mochaTest:android'],
}]
}
tasks:[{
grunt:true,
args:['mochaTest:android'],
flags: ['--grep=test_names'],
}, {
grunt:true,
args:['mochaTest:android'],
flags:['--grep=test_names'],
}]
}
tasks:[{
grunt:true,
args:['mochaTest:android'],
flags: 'grep=test_names',
}, {
grunt:true,
args:['mochaTest:android'],
flags:'grep=test_names',
}]
}
The text was updated successfully, but these errors were encountered: