Class JestOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.javascript.JestOptions.Jsii$Proxy
-
- All Implemented Interfaces:
JestOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- JestOptions
@Stability(Experimental) @Internal public static final class JestOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements JestOptions
An implementation forJestOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.javascript.JestOptions
JestOptions.Builder, JestOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(JestOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theJestOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetConfigFilePath()(experimental) Path to JSON config file for Jest.BooleangetCoverage()(deprecated) Collect coverage.BooleangetCoverageText()(experimental) Include thetextcoverage reporter, which means that coverage summary is printed at the end of the jest execution.List<String>getExtraCliOptions()(experimental) Additional options to pass to the Jest CLI invocation.List<String>getIgnorePatterns()(deprecated) DefinestestPathIgnorePatternsandcoveragePathIgnorePatterns.JestConfigOptionsgetJestConfig()(experimental) Jest configuration.StringgetJestVersion()(experimental) The version of jest to use.BooleangetJunitReporting()(experimental) Result processing with jest-junit.BooleangetPreserveDefaultReporters()(experimental) Preserve the default Jest reporter when additional reporters are added.UpdateSnapshotgetUpdateSnapshot()(experimental) Whether to update snapshots in task "test" (which is executed in task "build" and build workflows), or create a separate task "test:update" for updating snapshots.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(JestOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theJestOptions.Builder.
-
-
Method Detail
-
getConfigFilePath
public final String getConfigFilePath()
Description copied from interface:JestOptions(experimental) Path to JSON config file for Jest.Default: - No separate config file, jest settings are stored in package.json
- Specified by:
getConfigFilePathin interfaceJestOptions
-
getCoverage
public final Boolean getCoverage()
Description copied from interface:JestOptions(deprecated) Collect coverage.Deprecated
Default: true
- Specified by:
getCoveragein interfaceJestOptions
-
getCoverageText
public final Boolean getCoverageText()
Description copied from interface:JestOptions(experimental) Include thetextcoverage reporter, which means that coverage summary is printed at the end of the jest execution.Default: true
- Specified by:
getCoverageTextin interfaceJestOptions
-
getExtraCliOptions
public final List<String> getExtraCliOptions()
Description copied from interface:JestOptions(experimental) Additional options to pass to the Jest CLI invocation.Default: - no extra options
- Specified by:
getExtraCliOptionsin interfaceJestOptions
-
getIgnorePatterns
public final List<String> getIgnorePatterns()
Description copied from interface:JestOptions(deprecated) DefinestestPathIgnorePatternsandcoveragePathIgnorePatterns.Default: ["/node_modules/"]
- Specified by:
getIgnorePatternsin interfaceJestOptions
-
getJestConfig
public final JestConfigOptions getJestConfig()
Description copied from interface:JestOptions(experimental) Jest configuration.Default: - default jest configuration
- Specified by:
getJestConfigin interfaceJestOptions
-
getJestVersion
public final String getJestVersion()
Description copied from interface:JestOptions(experimental) The version of jest to use.Note that same version is used as version of
@types/jestandts-jest(if Typescript in use), so given version should work also for those.Default: - installs the latest jest version
- Specified by:
getJestVersionin interfaceJestOptions
-
getJunitReporting
public final Boolean getJunitReporting()
Description copied from interface:JestOptions(experimental) Result processing with jest-junit.Output directory is
test-reports/.Default: true
- Specified by:
getJunitReportingin interfaceJestOptions
-
getPreserveDefaultReporters
public final Boolean getPreserveDefaultReporters()
Description copied from interface:JestOptions(experimental) Preserve the default Jest reporter when additional reporters are added.Default: true
- Specified by:
getPreserveDefaultReportersin interfaceJestOptions
-
getUpdateSnapshot
public final UpdateSnapshot getUpdateSnapshot()
Description copied from interface:JestOptions(experimental) Whether to update snapshots in task "test" (which is executed in task "build" and build workflows), or create a separate task "test:update" for updating snapshots.Default: - ALWAYS
- Specified by:
getUpdateSnapshotin interfaceJestOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-