From bc1c884fc2cc84b1af17f61ca14c7859d218e92b Mon Sep 17 00:00:00 2001 From: Zoltan Boros Date: Mon, 7 Feb 2022 15:02:12 +0100 Subject: [PATCH] docs: adds details to test results processor config option (#12206) --- docs/Configuration.md | 2 ++ website/versioned_docs/version-25.x/Configuration.md | 2 ++ website/versioned_docs/version-26.x/Configuration.md | 2 ++ website/versioned_docs/version-27.0/Configuration.md | 2 ++ website/versioned_docs/version-27.1/Configuration.md | 2 ++ website/versioned_docs/version-27.2/Configuration.md | 2 ++ website/versioned_docs/version-27.4/Configuration.md | 2 ++ website/versioned_docs/version-27.5/Configuration.md | 2 ++ 8 files changed, 16 insertions(+) diff --git a/docs/Configuration.md b/docs/Configuration.md index db32780483b3..7d6e47370040 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -1262,6 +1262,8 @@ This option allows the use of a custom results processor. This processor must be } ``` +`testResultsProcessor` and `reporters` are very similar to each other. One difference is that a test result processor only gets called after all tests finished. Whereas a reporter has the ability to receive test results after individual tests and/or test suites are finished. + ### `testRunner` \[string] Default: `jest-circus/runner` diff --git a/website/versioned_docs/version-25.x/Configuration.md b/website/versioned_docs/version-25.x/Configuration.md index 4167e77f956b..128ff0d17418 100644 --- a/website/versioned_docs/version-25.x/Configuration.md +++ b/website/versioned_docs/version-25.x/Configuration.md @@ -1108,6 +1108,8 @@ This option allows the use of a custom results processor. This processor must be } ``` +`testResultsProcessor` and `reporters` are very similar to each other. One difference is that a test result processor only gets called after all tests finished. Whereas a reporter has the ability to receive test results after individual tests and/or test suites are finished. + ### `testRunner` \[string] Default: `jasmine2` diff --git a/website/versioned_docs/version-26.x/Configuration.md b/website/versioned_docs/version-26.x/Configuration.md index 516ab01714a2..abb4fbcb62a3 100644 --- a/website/versioned_docs/version-26.x/Configuration.md +++ b/website/versioned_docs/version-26.x/Configuration.md @@ -1194,6 +1194,8 @@ This option allows the use of a custom results processor. This processor must be } ``` +`testResultsProcessor` and `reporters` are very similar to each other. One difference is that a test result processor only gets called after all tests finished. Whereas a reporter has the ability to receive test results after individual tests and/or test suites are finished. + ### `testRunner` \[string] Default: `jasmine2` diff --git a/website/versioned_docs/version-27.0/Configuration.md b/website/versioned_docs/version-27.0/Configuration.md index 76e63be36941..e59b00523d1a 100644 --- a/website/versioned_docs/version-27.0/Configuration.md +++ b/website/versioned_docs/version-27.0/Configuration.md @@ -1221,6 +1221,8 @@ This option allows the use of a custom results processor. This processor must be } ``` +`testResultsProcessor` and `reporters` are very similar to each other. One difference is that a test result processor only gets called after all tests finished. Whereas a reporter has the ability to receive test results after individual tests and/or test suites are finished. + ### `testRunner` \[string] Default: `jest-circus/runner` diff --git a/website/versioned_docs/version-27.1/Configuration.md b/website/versioned_docs/version-27.1/Configuration.md index 315f15f5954c..9f359f39a61b 100644 --- a/website/versioned_docs/version-27.1/Configuration.md +++ b/website/versioned_docs/version-27.1/Configuration.md @@ -1256,6 +1256,8 @@ This option allows the use of a custom results processor. This processor must be } ``` +`testResultsProcessor` and `reporters` are very similar to each other. One difference is that a test result processor only gets called after all tests finished. Whereas a reporter has the ability to receive test results after individual tests and/or test suites are finished. + ### `testRunner` \[string] Default: `jest-circus/runner` diff --git a/website/versioned_docs/version-27.2/Configuration.md b/website/versioned_docs/version-27.2/Configuration.md index 996b2cea8cc2..24d698c13e7c 100644 --- a/website/versioned_docs/version-27.2/Configuration.md +++ b/website/versioned_docs/version-27.2/Configuration.md @@ -1260,6 +1260,8 @@ This option allows the use of a custom results processor. This processor must be } ``` +`testResultsProcessor` and `reporters` are very similar to each other. One difference is that a test result processor only gets called after all tests finished. Whereas a reporter has the ability to receive test results after individual tests and/or test suites are finished. + ### `testRunner` \[string] Default: `jest-circus/runner` diff --git a/website/versioned_docs/version-27.4/Configuration.md b/website/versioned_docs/version-27.4/Configuration.md index db32780483b3..7d6e47370040 100644 --- a/website/versioned_docs/version-27.4/Configuration.md +++ b/website/versioned_docs/version-27.4/Configuration.md @@ -1262,6 +1262,8 @@ This option allows the use of a custom results processor. This processor must be } ``` +`testResultsProcessor` and `reporters` are very similar to each other. One difference is that a test result processor only gets called after all tests finished. Whereas a reporter has the ability to receive test results after individual tests and/or test suites are finished. + ### `testRunner` \[string] Default: `jest-circus/runner` diff --git a/website/versioned_docs/version-27.5/Configuration.md b/website/versioned_docs/version-27.5/Configuration.md index db32780483b3..7d6e47370040 100644 --- a/website/versioned_docs/version-27.5/Configuration.md +++ b/website/versioned_docs/version-27.5/Configuration.md @@ -1262,6 +1262,8 @@ This option allows the use of a custom results processor. This processor must be } ``` +`testResultsProcessor` and `reporters` are very similar to each other. One difference is that a test result processor only gets called after all tests finished. Whereas a reporter has the ability to receive test results after individual tests and/or test suites are finished. + ### `testRunner` \[string] Default: `jest-circus/runner`