From c4c5cecbea52ff0c09d584f4706d7e2c88c2d823 Mon Sep 17 00:00:00 2001 From: Thomas Boop Date: Wed, 23 Sep 2020 12:55:22 -0400 Subject: [PATCH] Fix tests on hosted runners --- __tests__/find-ruby.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/__tests__/find-ruby.test.ts b/__tests__/find-ruby.test.ts index 2fa745d..1d59d6c 100644 --- a/__tests__/find-ruby.test.ts +++ b/__tests__/find-ruby.test.ts @@ -11,7 +11,9 @@ describe('find-ruby', () => { let tcSpy: jest.SpyInstance; let cnSpy: jest.SpyInstance; - beforeAll(async () => {}); + beforeAll(async () => { + process.env['GITHUB_PATH'] = ''; + }); beforeEach(() => { tcSpy = jest.spyOn(tc, 'find');