Config Reference
Config Reference Table
Prop | Type | Default |
---|---|---|
pattern | string[] | [] |
exclude | string[] | [] |
envs | string[] | [] |
plugins | Plugin[] | [] |
timeout | number | 300000 |
context | Record<any, any> | {} |
tsconfig | Tsconfig | {} |
watch | boolean | false |
require | string[] | [] |
reporters | ReporterPlugin[] | [] |
output | string | ./output |
Config Fields
pattern
Description: A list of patterns to include for processing.
Type: string[]
Default: []
exclude
Description: A list of patterns to exclude from processing.
Type: string[]
Default: []
envs
Description: A list of environment names where this configuration will be applied.
Type: string[]
Default: []
plugins
Description: A list of eabuild plugins to be used in the configuration.
Type: Plugin[]
Default: []
timeout
Description: The timeout value in milliseconds for operations.
Type: number
Default: 300000
context
Description: A context object that can hold any key-value pair.
Type: Record<any, any>
Default: {}
tsconfig
Description: The TypeScript configuration options.
Type: Tsconfig
Default: {}
watch
Description: Whether to watch files for changes.
Type: boolean
Default: false
require
Description: List of modules to auto require inside the testing files.
Type: string[]
Default: []
reporters
Description: List of reporter plugins.
Type: ReporterPlugin[]
Default: [spec]
output
Description: Defines the file path for reporters to save their outputs.
Type: string
Default: ./output