Skip to content

Commit

Permalink
Update docs for the jest command
Browse files Browse the repository at this point in the history
  • Loading branch information
Esteban Beltran committed Apr 6, 2022
1 parent 1f85d8e commit 8d3fd96
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/commands/jest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
"--watch", "-w", default=False, is_flag=True, help="Run jest in watch mode"
)
def jest(testfile, watch):
"""
Helper for kibana's jest runner script.
If TESTFILE is passed. It will run jest for it.
If TESTFILE is not passed it will prompt you to select a test file
from `git status`
"""
if testfile:
run_for_file(testfile, watch)
return
Expand Down

0 comments on commit 8d3fd96

Please sign in to comment.