mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2026-08-28 21:14:58 -04:00
improve tests
This commit is contained in:
parent
8998c6804e
commit
42a70ecdee
3 changed files with 66 additions and 30 deletions
|
|
@ -11,12 +11,13 @@ import * as im from '../src/installer';
|
|||
import goJsonData from './data/golang-dl.json';
|
||||
import matchers from '../matchers.json';
|
||||
import goTestManifest from './data/versions-manifest.json';
|
||||
import {addExecutablesToCache, IGoVersionInfo} from '../src/installer';
|
||||
const matcherPattern = matchers.problemMatcher[0].pattern[0];
|
||||
const matcherRegExp = new RegExp(matcherPattern.regexp);
|
||||
const win32Join = path.win32.join;
|
||||
const posixJoin = path.posix.join;
|
||||
|
||||
jest.setTimeout(10000);
|
||||
|
||||
describe('setup-go', () => {
|
||||
let inputs = {} as any;
|
||||
let os = {} as any;
|
||||
|
|
|
|||
Loading…
Reference in a new issue