Revert "Swap to Environment Files (#76)"

This reverts commit 37335c7bb2.
This commit is contained in:
MaxFox196 2021-06-14 19:36:48 +05:00 committed by GitHub
parent 3b4dc6cbed
commit 886a90d17e
5 changed files with 44 additions and 106 deletions

View file

@ -35,11 +35,6 @@ describe('setup-go', () => {
let execSpy: jest.SpyInstance;
let getManifestSpy: jest.SpyInstance;
beforeAll(() => {
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
});
beforeEach(() => {
// @actions/core
inputs = {};
@ -95,9 +90,7 @@ describe('setup-go', () => {
//jest.restoreAllMocks();
});
afterAll(async () => {
console.log('::stoptoken::'); // Re-enable executing of runner commands when running tests in actions
}, 100000);
afterAll(async () => {}, 100000);
it('can find 1.9.7 from manifest on osx', async () => {
os.platform = 'darwin';