Skip to content

Commit cd80572

Browse files
docs: update README.md fix jest run mode type (#1126)
1 parent 0c57873 commit cd80572

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,10 +518,10 @@ The following are the predefined `runMode` configurations for convenience. They
518518

519519
|Predefined runMode|Description|JestRunMode|
520520
|:---:|---|---|
521-
|"watch"| run tests by watchman | {type: "watch", revealOutput: "on-run"} |
522-
|"on-save"| run tests when test or source files are saved|{type: "on-run", revealOutput: "on-run"}|
523-
|"on-demand"|run tests on-demand through UI | {type: "on-demand", revealOutput: "on-run"} |
524-
|"deferred"|defer test run and discovery until the first on-demand run | {type: "on-demand", revealOutput: "on-run", deferred: true } |
521+
|"watch"| run tests by watchman | {type: "watch"} |
522+
|"on-save"| run tests when test or source files are saved|{type: "on-save"}|
523+
|"on-demand"|run tests on-demand through UI | {type: "on-demand"} |
524+
|"deferred"|defer test run and discovery until the first on-demand run | {type: "on-demand", deferred: true} |
525525

526526
**Examples**
527527
- Run jest with watch mode - the default runMode if none is specified.

0 commit comments

Comments
 (0)