Skip to content

Commit

Permalink
Add silencing to additional test files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Partington committed Jun 23, 2020
1 parent 8622312 commit a30a5ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/setup-tools.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ import nock from 'nock';
import * as path from 'path';

import * as setupTools from './setup-tools';
import {silenceDebugOutput} from './testing-utils';
import * as util from './util';

silenceDebugOutput(test);

test('download codeql bundle cache', async t => {

await util.withTmpDir(async tmpDir => {
Expand Down
3 changes: 3 additions & 0 deletions src/util.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import test from 'ava';
import * as fs from 'fs';

import {silenceDebugOutput} from './testing-utils';
import * as util from './util';

silenceDebugOutput(test);

test('getToolNames', t => {
const input = fs.readFileSync(__dirname + '/../src/testdata/tool-names.sarif', 'utf8');
const toolNames = util.getToolNames(input);
Expand Down

0 comments on commit a30a5ba

Please sign in to comment.