We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 804aab2 commit 6bff7b1Copy full SHA for 6bff7b1
integration/vscode/ada/test/suite/index.ts
@@ -16,6 +16,12 @@ export function run(): Promise<void> {
16
mochaOptions.reporter = process.env.MOCHA_REPORTER;
17
}
18
19
+ if (!mochaOptions.reporterOptions) {
20
+ mochaOptions.reporterOptions = {
21
+ maxDiffSize: 0,
22
+ };
23
+ }
24
+
25
// Create the mocha test
26
const mocha = new Mocha(mochaOptions);
27
@@ -35,6 +41,10 @@ export function run(): Promise<void> {
35
41
mocha.timeout(env['MOCHA_TIMEOUT']);
36
42
37
43
44
+ if (env['MOCHA_GREP']) {
45
+ mocha.grep(env['MOCHA_GREP']);
46
47
38
48
// Run the mocha test
39
49
mocha.run((failures) => {
40
50
if (failures > 0) {
0 commit comments