Reduce debug output in tests

This commit is contained in:
Sam Partington 2020-06-22 12:12:14 +01:00
parent 74f864bee1
commit c0c67ce80f
20 changed files with 109 additions and 5 deletions

View file

@ -3,8 +3,11 @@ import * as fs from 'fs';
import * as path from 'path';
import * as configUtils from './config-utils';
import {silenceDebugOutput} from './testing-utils';
import * as util from './util';
silenceDebugOutput(test);
function setInput(name: string, value: string | undefined) {
// Transformation copied from
// https://github.com/actions/toolkit/blob/05e39f551d33e1688f61b209ab5cdd335198f1b8/packages/core/src/core.ts#L69