Add silencing to additional test files
https://github.com/github/codeql-action/pull/75#issuecomment-648104201
This commit is contained in:
parent
8622312249
commit
a30a5ba788
2 changed files with 6 additions and 0 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue