Skip to content

Commit

Permalink
docs: update README.md fix jest run mode type (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
kota-kamikawa committed Mar 13, 2024
1 parent 0c57873 commit cd80572
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -518,10 +518,10 @@ The following are the predefined `runMode` configurations for convenience. They

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

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

0 comments on commit cd80572

Please sign in to comment.