Skip to content

Commit 42e161a

Browse files
committed
update jest config since 30.0
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent 37fd203 commit 42e161a

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

jest.config.ts renamed to jest.config.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import fs = require('fs');
2-
import os = require('os');
3-
import path = require('path');
1+
/* eslint-disable @typescript-eslint/no-require-imports */
2+
const fs = require('fs');
3+
const os = require('os');
4+
const path = require('path');
45

56
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'docker-setup-docker-action-'));
67

@@ -9,9 +10,7 @@ process.env = Object.assign({}, process.env, {
910
GITHUB_REPOSITORY: 'docker/setup-docker-action',
1011
RUNNER_TEMP: path.join(tmpDir, 'runner-temp'),
1112
RUNNER_TOOL_CACHE: path.join(tmpDir, 'runner-tool-cache')
12-
}) as {
13-
[key: string]: string;
14-
};
13+
});
1514

1615
module.exports = {
1716
clearMocks: true,

0 commit comments

Comments
 (0)