Skip to content

Commit 6bff7b1

Browse files
committed
Revert changes to the test framework
1 parent 804aab2 commit 6bff7b1

File tree

1 file changed

+10
-0
lines changed
  • integration/vscode/ada/test/suite

1 file changed

+10
-0
lines changed

integration/vscode/ada/test/suite/index.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ export function run(): Promise<void> {
1616
mochaOptions.reporter = process.env.MOCHA_REPORTER;
1717
}
1818

19+
if (!mochaOptions.reporterOptions) {
20+
mochaOptions.reporterOptions = {
21+
maxDiffSize: 0,
22+
};
23+
}
24+
1925
// Create the mocha test
2026
const mocha = new Mocha(mochaOptions);
2127

@@ -35,6 +41,10 @@ export function run(): Promise<void> {
3541
mocha.timeout(env['MOCHA_TIMEOUT']);
3642
}
3743

44+
if (env['MOCHA_GREP']) {
45+
mocha.grep(env['MOCHA_GREP']);
46+
}
47+
3848
// Run the mocha test
3949
mocha.run((failures) => {
4050
if (failures > 0) {

0 commit comments

Comments
 (0)