Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / Jasmine
Schema registry

Jasmine

jasmine JSON config file

jasmine.json

Check your file against this schema

Opens the validator with this schema already loaded. Paste your jasmine.json and it validates in your browser — nothing is uploaded.

Validate a jasmine.json → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
spec_dirrequiredstringSpec directory path relative to the current working dir when jasmine is executed.
default: ""
spec_filesrequiredarray<string>Array of filepaths (and globs) relative to spec_dir to include and exclude.
default: []
helpersarray<string>Array of filepaths (and globs) relative to spec_dir to include before jasmine specs
default: []
envobjectConfiguration of the Jasmine environment
env.autoCleanClosurebooleanClean 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
env.failSpecWithNoExpectationsbooleanWhether 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
env.hideDisbaledbooleanWhether or not reporters should hide disabled specs from their output. Currently only supported by Jasmine's HTMLReporter.
default: false
env.randombooleanWhether to randomize spec execution order.
default: true
env.seedanyOfSeed to use as the basis of randomization. Null causes the seed to be determined randomly at the start of execution.
default: null
env.stopOnSpecFailurebooleanWhether to stop execution of the suite after the first spec failure.
default: false
env.stopSpecOnExpectationFailurebooleanWhether to cause specs to only have one expectation failure.
default: false
env.verboseDepricationbooleanWhether 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
default: false
autoCleanClosurebooleanClean 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
failSpecWithNoExpectationsbooleanWhether 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
hideDisbaledbooleanWhether or not reporters should hide disabled specs from their output. Currently only supported by Jasmine's HTMLReporter.
default: false
randombooleanWhether to randomize spec execution order.
default: true
seedanyOfSeed to use as the basis of randomization. Null causes the seed to be determined randomly at the start of execution.
default: null
stopOnSpecFailurebooleanWhether to stop execution of the suite after the first spec failure.
default: false
stopSpecOnExpectationFailurebooleanWhether to cause specs to only have one expectation failure.
default: false
verboseDepricationbooleanWhether 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
default: false

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
allOfJSON Schema Core, draft 2020-12§10.2.1.1 — "allOf"
anyOfJSON Schema Core, draft 2020-12§10.2.1.2 — "anyOf"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
requiredJSON Schema Validation, draft 2020-12§6.5.3 — "required"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas