Skip to content

Commit ff509b0

Browse files
authored
Merge pull request #680 from crazy-max/fix-jest-itg
fix jest config for integration tests
2 parents 794148e + 68fd63a commit ff509b0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

jest.config.itg.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
import fs from 'fs';
18-
import os from 'os';
19-
import path from 'path';
20-
21-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'docker-actions-toolkit-'));
22-
23-
process.env = Object.assign({}, process.env, {
24-
TEMP: tmpDir,
25-
RUNNER_TEMP: path.join(tmpDir, 'runner-temp'),
26-
RUNNER_TOOL_CACHE: path.join(tmpDir, 'runner-tool-cache')
27-
}) as {
28-
[key: string]: string;
29-
};
30-
3117
module.exports = {
3218
testEnvironment: 'node',
3319
moduleFileExtensions: ['js', 'ts'],

0 commit comments

Comments
 (0)