File match jasmine.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/jasmine/latest.json
Source https://www.schemastore.org/jasmine.json

Validate with Lintel

npx @lintel/lintel check

All of

1. root-items object
2. object object
env object

Configuration of the Jasmine environment

8 nested properties
autoCleanClosure boolean

Clean closures when a suite is done running (done by clearing the stored function reference). This prevents memory leaks, but you won't be able to run jasmine multiple times.

Default: false
failSpecWithNoExpectations boolean

Whether to fail the spec if it ran no expectations. By default a spec that ran no expectations is reported as passed. Setting this to true will report such spec as a failure.

Default: false
hideDisbaled boolean

Whether or not reporters should hide disabled specs from their output. Currently only supported by Jasmine's HTMLReporter.

Default: false
random boolean

Whether to randomize spec execution order.

Default: true
seed string | number | null

Seed to use as the basis of randomization. Null causes the seed to be determined randomly at the start of execution.

Default: null
stopOnSpecFailure boolean

Whether to stop execution of the suite after the first spec failure.

Default: false
stopSpecOnExpectationFailure boolean

Whether to cause specs to only have one expectation failure.

Default: false
verboseDeprication boolean

Whether or not to issue warnings for certain deprecated functionality every time it's used. If not set or set to false, deprecation warnings for methods that tend to be called frequently will be issued only once or otherwise throttled to to prevent the suite output from being flooded with warnings.

Default: false
3. env-items object

Definitions

root-items object
spec_dir string required

Spec directory path relative to the current working dir when jasmine is executed.

Default: ""
spec_files string[] required

Array of filepaths (and globs) relative to spec_dir to include and exclude.

Default:
[]
helpers string[]

Array of filepaths (and globs) relative to spec_dir to include before jasmine specs

Default:
[]
env-items object

Configuration of the Jasmine environment

autoCleanClosure boolean

Clean closures when a suite is done running (done by clearing the stored function reference). This prevents memory leaks, but you won't be able to run jasmine multiple times.

Default: false
failSpecWithNoExpectations boolean

Whether to fail the spec if it ran no expectations. By default a spec that ran no expectations is reported as passed. Setting this to true will report such spec as a failure.

Default: false
hideDisbaled boolean

Whether or not reporters should hide disabled specs from their output. Currently only supported by Jasmine's HTMLReporter.

Default: false
random boolean

Whether to randomize spec execution order.

Default: true
seed string | number | null

Seed to use as the basis of randomization. Null causes the seed to be determined randomly at the start of execution.

Default: null
stopOnSpecFailure boolean

Whether to stop execution of the suite after the first spec failure.

Default: false
stopSpecOnExpectationFailure boolean

Whether to cause specs to only have one expectation failure.

Default: false
verboseDeprication boolean

Whether or not to issue warnings for certain deprecated functionality every time it's used. If not set or set to false, deprecation warnings for methods that tend to be called frequently will be issued only once or otherwise throttled to to prevent the suite output from being flooded with warnings.

Default: false