Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 26fa782

Browse filesBrowse files
author
Danny McCormick
committed
Clean up tests
1 parent 7deb858 commit 26fa782
Copy full SHA for 26fa782

File tree

Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed

‎__tests__/finder.test.ts

Copy file name to clipboardExpand all lines: __tests__/finder.test.ts
+2-3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.