mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-19 18:06:46 +00:00
test: move envs to jest config
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
d1b0eb0a29
commit
67109bc4b2
2 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,15 @@
|
|||
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;
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
clearMocks: false,
|
||||
testEnvironment: 'node',
|
||||
moduleFileExtensions: ['js', 'ts'],
|
||||
setupFiles: ['dotenv/config'],
|
||||
testMatch: ['**/*.test.ts'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue