소스 검색

jest: add a command for running tests from files

Gary King 5 년 전
부모
커밋
b55af73957
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      pages/common/jest.md

+ 4 - 0
pages/common/jest.md

@@ -7,6 +7,10 @@
 
 `jest`
 
+- Run tests from the test files that match the regex patterns:
+
+`jest {{test_file1}} {{test_file2}}`
+
 - Run tests whose names match the regex pattern:
 
 `jest -t {{spec_name}}`