Skip to content

Commit a30a5ba

Browse files
committed
Add silencing to additional test files
#75 (comment)
1 parent 8622312 commit a30a5ba

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/setup-tools.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ import nock from 'nock';
44
import * as path from 'path';
55

66
import * as setupTools from './setup-tools';
7+
import {silenceDebugOutput} from './testing-utils';
78
import * as util from './util';
89

10+
silenceDebugOutput(test);
11+
912
test('download codeql bundle cache', async t => {
1013

1114
await util.withTmpDir(async tmpDir => {

src/util.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import test from 'ava';
22
import * as fs from 'fs';
33

4+
import {silenceDebugOutput} from './testing-utils';
45
import * as util from './util';
56

7+
silenceDebugOutput(test);
8+
69
test('getToolNames', t => {
710
const input = fs.readFileSync(__dirname + '/../src/testdata/tool-names.sarif', 'utf8');
811
const toolNames = util.getToolNames(input);

0 commit comments

Comments
 (0)