@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.843Z") @Stability(value=Experimental) public interface JestOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
JestOptions.Builder
A builder for
JestOptions |
static class |
JestOptions.Jsii$Proxy
An implementation for
JestOptions |
| Modifier and Type | Method and Description |
|---|---|
static JestOptions.Builder |
builder() |
default String |
getConfigFilePath()
(experimental) Path to JSON config file for Jest.
|
default Boolean |
getCoverage()
Deprecated.
use jestConfig.collectCoverage
|
default Boolean |
getCoverageText()
(experimental) Include the `text` coverage reporter, which means that coverage summary is printed at the end of the jest execution.
|
default List<String> |
getIgnorePatterns()
Deprecated.
use jestConfig.coveragePathIgnorePatterns or jestConfig.testPathIgnorePatterns respectively
|
default JestConfigOptions |
getJestConfig()
(experimental) Jest configuration.
|
default String |
getJestVersion()
(experimental) The version of jest to use.
|
default Boolean |
getJunitReporting()
(experimental) Result processing with jest-junit.
|
default Boolean |
getPreserveDefaultReporters()
(experimental) Preserve the default Jest reporter when additional reporters are added.
|
@Stability(value=Experimental) @Nullable default String getConfigFilePath()
Default: - No separate config file, jest settings are stored in package.json
@Stability(value=Deprecated) @Deprecated @Nullable default Boolean getCoverage()
Deprecated
Default: true
@Stability(value=Experimental) @Nullable default Boolean getCoverageText()
Default: true
@Stability(value=Deprecated) @Deprecated @Nullable default List<String> getIgnorePatterns()
Default: ["/node_modules/"]
@Stability(value=Experimental) @Nullable default JestConfigOptions getJestConfig()
Default: - default jest configuration
@Stability(value=Experimental) @Nullable default String getJestVersion()
Default: - installs the latest jest version
@Stability(value=Experimental) @Nullable default Boolean getJunitReporting()
Output directory is test-reports/.
Default: true
@Stability(value=Experimental) @Nullable default Boolean getPreserveDefaultReporters()
Default: true
@Stability(value=Experimental) static JestOptions.Builder builder()
JestOptions.Builder of JestOptionsCopyright © 2021. All rights reserved.