Options to pass to Mocha.

### Hierarchy

- MochaOptions

## Index

### Properties

- allowUncaught
- asyncOnly
- bail
- delay
- enableTimeouts
- forbidOnly
- forbidPending
- fullStackTrace
- globals
- grep
- growl
- hideDiff
- ignoreLeaks
- inlineDiffs
- noHighlighting
- reporter
- reporterOptions
- retries
- slow
- timeout
- ui
- useColors

## Properties

### Optional allowUncaught

allowUncaught: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2238

### Optional asyncOnly

asyncOnly: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2233

### Optional bail

bail: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2207

bail on the first test failure.

### Optional delay

delay: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2234

### Optional enableTimeouts

enableTimeouts: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2201

### Optional forbidOnly

forbidOnly: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2235

### Optional forbidPending

forbidPending: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2236

### Optional fullStackTrace

fullStackTrace: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2216

display the full stack trace on failure.

### Optional globals

globals: string[]

- Defined in node_modules/@types/mocha/index.d.ts:2196

Array of accepted globals.

### Optional grep

grep: string | RegExp

- Defined in node_modules/@types/mocha/index.d.ts:2219

string or regexp to filter tests with.

### Optional growl

growl: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2222

Enable growl support.

### Optional hideDiff

hideDiff: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2231

Do not show diffs at all.

### Optional ignoreLeaks

ignoreLeaks: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2213

ignore global leaks.

### Optional inlineDiffs

inlineDiffs: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2228

Use inline diffs rather than +/-.

### Optional noHighlighting

noHighlighting: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2237

### Optional reporter

reporter: string | ReporterConstructor

- Defined in node_modules/@types/mocha/index.d.ts:2190

Reporter constructor, built-in reporter name, or reporter module path. Defaults to `"spec"`.

### Optional reporterOptions

reporterOptions: any

- Defined in node_modules/@types/mocha/index.d.ts:2193

Options to pass to the reporter.

### Optional retries

retries: undefined | number

- Defined in node_modules/@types/mocha/index.d.ts:2204

number of times to retry failed tests.

### Optional slow

slow: undefined | number

- Defined in node_modules/@types/mocha/index.d.ts:2210

milliseconds to wait before considering a test slow.

### Optional timeout

timeout: undefined | number

- Defined in node_modules/@types/mocha/index.d.ts:2199

timeout in milliseconds.

### Optional ui

ui: Interface

- Defined in node_modules/@types/mocha/index.d.ts:2184

Test interfaces ("bdd", "tdd", "exports", etc.).

### Optional useColors

useColors: undefined | false | true

- Defined in node_modules/@types/mocha/index.d.ts:2225

Emit color output.

Generated using TypeDoc