Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "adapter/mocha/Options"

Index

Classes

Variables

Functions

Variables

config

config: Array<Array<string | Array<any> | modules>> = [['-C, --no-colors', 'force disabling of colors'],['-R, --reporter <name>', 'specify the reporter to use', 'spec'],['-S, --sort', 'sort test files'],['-b, --bail', 'bail after first test failure'],['-g, --grep <pattern>', 'only run tests matching <pattern>'],['-f, --fgrep <string>', 'only run tests containing <string>'],['-i, --invert', 'inverts --grep and --fgrep matches'],['-r, --require <name>', 'require the given module', modules, []],['-s, --slow <ms>', '"slow" test threshold in milliseconds [75]'],['-t, --timeout <ms>', 'set test-case timeout in milliseconds [2000]'],['-u, --ui <name>', 'specify user-interface (bdd|tdd|exports],', 'bdd'],['--check-leaks', 'check for global variable leaks'],['--compilers <ext>:<module>,...', 'use the given module(s], to compile files', list, []],['--debug', 'enable Electron debugger on port [5858]; for --renderer tests show window and dev-tools'],['--debug-brk <string>', 'like --debug but pauses the script on the first line'],['--globals <names>', 'allow the given comma-delimited global [names]', list, []],['--inline-diffs', 'display actual/expected differences inline within each string'],['--interactive', 'run tests in renderer process in a visible window that can be reloaded to re-run tests'],['--interfaces', 'display available interfaces'],['--no-timeouts', 'disables timeouts'],['--opts <path>', 'specify opts path', 'test/mocha.opts'],['--recursive', 'include sub directories'],['--renderer', 'run tests in renderer process'],['--preload <name>', 'preload the given script in renderer process', modules, []],['--require-main <name>', 'load the given script in main process before executing tests', modules, []],]

cwd

cwd: string = process.cwd()

fs

fs: any = require('fs')

join

join: any

packageJson

packageJson: any = require("../../../package.json")

program

program: any = require('commander')

resolve

resolve: any

Functions

list

  • list(str: any): any

modules

  • modules(mod: any, memo: any): any

Generated using TypeDoc