Skip to content

Commit

Permalink
update test'
Browse files Browse the repository at this point in the history
  • Loading branch information
tyanko1 committed Dec 1, 2023
1 parent 035d5ed commit 5c63b7a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/actions/promote_docker_image/test/action.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

0 comments on commit 5c63b7a

Please sign in to comment.