@Stability(value=Experimental) public static final class JestOptions.Builder extends Object implements software.amazon.jsii.Builder<JestOptions>
JestOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public JestOptions.Builder configFilePath(String configFilePath)
JestOptions.getConfigFilePath()configFilePath - Path to JSON config file for Jest.this@Stability(value=Deprecated) @Deprecated public JestOptions.Builder coverage(Boolean coverage)
JestOptions.getCoverage()coverage - Collect coverage.
Deprecatedthis@Stability(value=Experimental) public JestOptions.Builder coverageText(Boolean coverageText)
JestOptions.getCoverageText()coverageText - Include the `text` coverage reporter, which means that coverage summary is printed at the end of the jest execution.this@Stability(value=Deprecated) @Deprecated public JestOptions.Builder ignorePatterns(List<String> ignorePatterns)
JestOptions.getIgnorePatterns()ignorePatterns - Defines `testPathIgnorePatterns` and `coveragePathIgnorePatterns`.this@Stability(value=Experimental) public JestOptions.Builder jestConfig(JestConfigOptions jestConfig)
JestOptions.getJestConfig()jestConfig - Jest configuration.this@Stability(value=Experimental) public JestOptions.Builder jestVersion(String jestVersion)
JestOptions.getJestVersion()jestVersion - The version of jest to use.this@Stability(value=Experimental) public JestOptions.Builder junitReporting(Boolean junitReporting)
JestOptions.getJunitReporting()junitReporting - Result processing with jest-junit.
Output directory is test-reports/.this@Stability(value=Experimental) public JestOptions.Builder preserveDefaultReporters(Boolean preserveDefaultReporters)
JestOptions.getPreserveDefaultReporters()preserveDefaultReporters - Preserve the default Jest reporter when additional reporters are added.this@Stability(value=Experimental) public JestOptions build()
build in interface software.amazon.jsii.Builder<JestOptions>JestOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.