mirror of
https://github.com/github/codeql-action.git
synced 2026-11-21 08:39:33 +00:00
Add silencing to additional test files
https://github.com/github/codeql-action/pull/75#issuecomment-648104201
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user