mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-23 03:16:09 +08:00
22 lines
504 B
TypeScript
22 lines
504 B
TypeScript
|
process.env = Object.assign({}, process.env, {
|
||
|
RUNNER_TEMP: '/tmp/github_runner',
|
||
|
RUNNER_TOOL_CACHE: '/tmp/github_tool_cache'
|
||
|
}) as {
|
||
|
[key: string]: string;
|
||
|
};
|
||
|
|
||
|
module.exports = {
|
||
|
clearMocks: true,
|
||
|
testEnvironment: 'node',
|
||
|
moduleFileExtensions: ['js', 'ts'],
|
||
|
setupFiles: ['dotenv/config'],
|
||
|
testMatch: ['**/*.test.ts'],
|
||
|
transform: {
|
||
|
'^.+\\.ts$': 'ts-jest'
|
||
|
},
|
||
|
moduleNameMapper: {
|
||
|
'^csv-parse/sync': '<rootDir>/node_modules/csv-parse/dist/cjs/sync.cjs'
|
||
|
},
|
||
|
verbose: true
|
||
|
};
|