This commit is contained in:
Thomas Boop 2020-09-29 18:53:48 -04:00
parent b1582817f5
commit fb489de586

View file

@ -34,10 +34,10 @@ describe('setup-go', () => {
let mkdirpSpy: jest.SpyInstance; let mkdirpSpy: jest.SpyInstance;
let execSpy: jest.SpyInstance; let execSpy: jest.SpyInstance;
let getManifestSpy: jest.SpyInstance; let getManifestSpy: jest.SpyInstance;
beforeAll(() => { beforeAll(() => {
process.env['GITHUB_PATH'] = ''; // Stub out ENV file functionality so we can verify it writes to standard out process.env['GITHUB_PATH'] = ''; // Stub out ENV file functionality so we can verify it writes to standard out
console.log("::stop-commands::stoptoken"); // Disable executing of runner commands when running tests in actions console.log('::stop-commands::stoptoken'); // Disable executing of runner commands when running tests in actions
}); });
beforeEach(() => { beforeEach(() => {
@ -96,7 +96,7 @@ describe('setup-go', () => {
}); });
afterAll(async () => { afterAll(async () => {
console.log("::stoptoken::"); // Re-enable executing of runner commands when running tests in actions console.log('::stoptoken::'); // Re-enable executing of runner commands when running tests in actions
}, 100000); }, 100000);
it('can find 1.9.7 from manifest on osx', async () => { it('can find 1.9.7 from manifest on osx', async () => {