8000 Clean up tests · vvoody/setup-python@26fa782 · GitHub
[go: up one dir, main page]

Skip to content

Commit 26fa782

Browse files
author
Danny McCormick
committed
Clean up tests
1 parent 7deb858 commit 26fa782

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

__tests__/finder.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import fs = require('fs');
33
import path = require('path');
44

55
const toolDir = path.join(
6-
process.cwd(),
6+
__dirname,
77
'runner',
88
path.join(
99
Math.random()
@@ -13,7 +13,7 @@ const toolDir = path.join(
1313
'tools'
1414
);
1515
const tempDir = path.join(
16-
process.cwd(),
16+
__dirname,
1717
'runner',
1818
path.join(
1919
Math.random()
@@ -24,7 +24,6 @@ const tempDir = path.join(
2424
);
2525

2626
process.env['RUNNER_TOOLSDIRECTORY'] = toolDir;
27-
process.env['AGENT_TOOLSDIRECTORY'] = toolDir;
2827
process.env['RUNNER_TEMPDIRECTORY'] = tempDir;
2928

3029
import * as finder from '../src/find-python';

0 commit comments

Comments
 (0)
0