From 26fa7821876f746daa0348204b4d1433d1062c4f Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Thu, 11 Jul 2019 17:12:03 -0400 Subject: [PATCH] Clean up tests --- __tests__/finder.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/__tests__/finder.test.ts b/__tests__/finder.test.ts index d1a90909..43de8000 100644 --- a/__tests__/finder.test.ts +++ b/__tests__/finder.test.ts @@ -3,7 +3,7 @@ import fs = require('fs'); import path = require('path'); const toolDir = path.join( - process.cwd(), + __dirname, 'runner', path.join( Math.random() @@ -13,7 +13,7 @@ const toolDir = path.join( 'tools' ); const tempDir = path.join( - process.cwd(), + __dirname, 'runner', path.join( Math.random() @@ -24,7 +24,6 @@ const tempDir = path.join( ); process.env['RUNNER_TOOLSDIRECTORY'] = toolDir; -process.env['AGENT_TOOLSDIRECTORY'] = toolDir; process.env['RUNNER_TEMPDIRECTORY'] = tempDir; import * as finder from '../src/find-python';