Merge pull request #10181 from electron/mocha-grep-docs
Parse --grep and --invert for mocha
This commit is contained in:
commit
7961a97d7d
1 changed files with 7 additions and 2 deletions
|
@ -81,8 +81,13 @@ def parse_args():
|
|||
help='Run tests in CI mode',
|
||||
action='store_true',
|
||||
required=False)
|
||||
parser.add_argument('-g',
|
||||
help='Filter',
|
||||
parser.add_argument('-g', '--grep',
|
||||
help='Only run tests matching <pattern>',
|
||||
metavar='pattern',
|
||||
required=False)
|
||||
parser.add_argument('-i', '--invert',
|
||||
help='Inverts --grep matches',
|
||||
action='store_true',
|
||||
required=False)
|
||||
parser.add_argument('-v', '--verbose',
|
||||
action='store_true',
|
||||
|
|
Loading…
Reference in a new issue