diff --git a/.github/actions/promote_docker_image/test/action.test.ts b/.github/actions/promote_docker_image/test/action.test.ts index 7d60edf..497936b 100644 --- a/.github/actions/promote_docker_image/test/action.test.ts +++ b/.github/actions/promote_docker_image/test/action.test.ts @@ -29,6 +29,20 @@ test('The correct source account credentials are configured', async () => { name: 'configurate_source_account_aws_credentials' }); - console.log(result); + expect(result).toBeDefined(); +}); + +test('Source account credentials are configured', async () => { + const results = await runCompositeAction({ + act: new Act(mockGithub.repo.getPath(repoName)), + repoName, + originDirectory: __dirname + }); + + const result = getTestResult({ + results, + name: 'configurate_source_account_aws_credentials' + }); + expect(result).toBeDefined(); });