.mocharc
MochaJS configuration files
| Type | object |
|---|---|
| File match |
.mocharc.json
.mocharc.jsonc
.mocharc.yml
.mocharc.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/mocharc/latest.json |
| Source | https://www.schemastore.org/mocharc.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
A JSON schema describing a .mocharc.[json|yml|yaml] file
Properties
allow-uncaught
boolean
async-only
boolean
bail
boolean
check-leaks
boolean
delay
boolean
exit
boolean
forbid-only
boolean
forbid-pending
boolean
global
string | string[]
jobs
integer
min=0
parallel
boolean
retries
integer
min=0
slow
integer
min=0
timeout
integer
min=0
ui
string
color
boolean
diff
boolean
full-trace
boolean
growl
boolean
inline-diffs
boolean
reporter
string
reporter-option
string | string[]
config
string
package
string
extension
string | string[]
file
string | string[]
ignore
string | string[]
recursive
boolean
require
string | string[]
sort
boolean
watch
boolean
watch-files
string | string[]
watch-ignore
string | string[]
fgrep
string
grep
string
invert
boolean
spec
string | string[]
enable-source-maps
boolean
Definitions
bool
boolean
int
integer
string
string
string-array
string | string[]