@@ -506,8 +506,6 @@ tests._
506
506
507
507
Default: ` undefined `
508
508
509
- ##### available in Jest ** 20.0.0+**
510
-
511
509
Use this configuration option to add custom reporters to Jest. A custom reporter
512
510
is a class that implements ` onRunStart ` , ` onTestStart ` , ` onTestResult ` ,
513
511
` onRunComplete ` methods that will be called when any of those events occurs.
@@ -606,8 +604,6 @@ programmatically using [`jest.resetModules()`](#jest-resetmodules).
606
604
607
605
Default: ` undefined `
608
606
609
- ##### available in Jest ** 20.0.0+**
610
-
611
607
This option allows the use of a custom resolver. This resolver must be a node
612
608
module that exports a function expecting a string as the first argument for the
613
609
path to resolve and an object with the following structure as the second
@@ -677,8 +673,6 @@ where you may want to have multiple roots within one project, for example
677
673
678
674
### ` runner ` [ string]
679
675
680
- ##### available in Jest ** 21.0.0+**
681
-
682
676
Default: ` "jest-runner" `
683
677
684
678
This option allows you to use a custom runner instead of Jest's default test
@@ -816,8 +810,6 @@ you can use the `node` option to use a node-like environment instead.
816
810
If some tests require another environment, you can add a ` @jest-environment `
817
811
docblock.
818
812
819
- ##### available in Jest ** 20.0.0+**
820
-
821
813
``` js
822
814
/**
823
815
* @jest-environment jsdom
@@ -835,8 +827,6 @@ environment. The module must export a class with `setup`, `teardown` and
835
827
suites by assigning them to ` this.global ` object &ndash ; this will make them
836
828
available in your test suites as global variables.
837
829
838
- ##### available in Jest ** 22.0.0+**
839
-
840
830
_ Note: TestEnvironment is sandboxed. Each test suite will trigger setup/teardown
841
831
in their own TestEnvironment._
842
832
@@ -880,8 +870,6 @@ beforeAll(() => {
880
870
881
871
### ` testEnvironmentOptions ` [ Object]
882
872
883
- ##### available in Jest ** 22.0.0+**
884
-
885
873
Default: ` {} `
886
874
887
875
Test environment options that will be passed to the ` testEnvironment ` . The
@@ -891,8 +879,6 @@ given to [jsdom](https://github.com/tmpvar/jsdom) such as
891
879
892
880
### ` testMatch ` [ array<string >]
893
881
894
- ##### available in Jest ** 19.0.0+**
895
-
896
882
(default: ` [ '**/__tests__/**/*.js?(x)', '**/?(*.)+(spec|test).js?(x)' ] ` )
897
883
898
884
The glob patterns Jest uses to detect test files. By default it looks for ` .js `
@@ -1110,8 +1096,6 @@ errors will also still be shown on the bottom after execution.
1110
1096
1111
1097
Default: ` [] `
1112
1098
1113
- ##### available in Jest ** 21.0.0+**
1114
-
1115
1099
An array of RegExp patterns that are matched against all source file paths
1116
1100
before re-running tests in watch mode. If the file path matches any of the
1117
1101
patterns, when it is updated, it will not trigger a re-run of tests.
0 commit comments