2023-01-13 13:23:43 +01:00
|
|
|
process.env = Object.assign({}, process.env, {
|
|
|
|
RUNNER_TEMP: '/tmp/github_runner',
|
|
|
|
RUNNER_TOOL_CACHE: '/tmp/github_tool_cache',
|
|
|
|
GITHUB_REPOSITORY: 'docker/build-push-action',
|
|
|
|
GITHUB_RUN_ID: '123456789'
|
|
|
|
}) as {
|
|
|
|
[key: string]: string;
|
|
|
|
};
|
|
|
|
|
2020-08-17 02:32:27 +02:00
|
|
|
module.exports = {
|
2020-10-19 21:17:06 +02:00
|
|
|
clearMocks: false,
|
2023-01-13 13:23:43 +01:00
|
|
|
testEnvironment: 'node',
|
2020-08-17 02:32:27 +02:00
|
|
|
moduleFileExtensions: ['js', 'ts'],
|
2022-04-25 06:47:48 +02:00
|
|
|
setupFiles: ['dotenv/config'],
|
2020-08-17 02:32:27 +02:00
|
|
|
testMatch: ['**/*.test.ts'],
|
|
|
|
transform: {
|
|
|
|
'^.+\\.ts$': 'ts-jest'
|
|
|
|
},
|
2022-04-25 06:47:48 +02:00
|
|
|
moduleNameMapper: {
|
|
|
|
'^csv-parse/sync': '<rootDir>/node_modules/csv-parse/dist/cjs/sync.cjs'
|
|
|
|
},
|
2022-03-15 21:59:52 +01:00
|
|
|
verbose: true
|
2022-04-25 06:47:48 +02:00
|
|
|
};
|