forked from totvs/tds-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mocharc.js
60 lines (57 loc) · 1.91 KB
/
.mocharc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
"use strict";
module.exports = {
recursive: true,
reporter: "spec",
slow: 75,
timeout: 5 * 60000,
ui: "bdd",
asyncOnly: true,
color: false,
fullTrace: true,
jobs: 1,
sort: false,
"dry-run": false,
failZero: true,
inlineDiffs: false,
traceWarnings: false, // node flags ok
//growl: true, //não consegui fazer funcionar
////////////////////
// require: "common-hooks.js", usado em execução paralela
// "fgrep": "" // Only run tests containing this string [string]
// "grep": "" // Only run tests matching this string or regexp [string]
// "invert": false // Inverts --grep and --fgrep matches [boolean]
//
//"allow-uncaught": false,
//bail: false,
//"check-leaks": false,
//delay: true,
//diff: true,
//exit: false, // could be expressed as "'no-exit': true"
//extension: ["js"],
//"fail-zero": true,
//fgrep: "something", // fgrep and grep are mutually exclusive
//file: ["/path/to/some/file", "/path/to/some/other/file"],
//"forbid-only": false,
//"forbid-pending": false,
//global: ["jQuery", "$"],
//grep: /something/i, // also 'something', fgrep and grep are mutually exclusive
//growl: false,
// invert: false, // needs to be used with grep or fgrep
//"node-option": ["unhandled-rejections=strict"], // without leading "--", also V8 flags
//package: "./package.json",
//parallel: false,
//recursive: true,
//reporter: "spec",
//"reporter-option": ["foo=bar", "baz=quux"], // array, not object
//require: "@babel/register",
//retries: 1,
//slow: "75",
//sort: false,
//spec: ["test/**/*.spec.js"], // the positional arguments!
//timeout: "30000", // same as "timeout: '2s'"
// timeout: false, // same as "timeout: 0"
//"v8-stack-trace-limit": 100, // V8 flags are prepended with "v8-"
//watch: false,
//"watch-files": ["lib/**/*.js", "test/**/*.js"],
//"watch-ignore": ["lib/vendor"],
};