mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-11-29 19:34:21 +01:00
chore: build and set cleanup file
This commit is contained in:
1 parent
0181111f1d
commit
3088522ce8
9 files changed
+428
-6
No files matched your search
@@ -6,11 +6,11 @@ describe('helpers', () => {
|
||||
});
|
||||
|
||||
test('removes brackets from GitHub Actor', () => {
|
||||
expect(helpers.sanitizeGithubActor('foo[bot]')).toEqual('foo_bot_');
|
||||
expect(helpers.sanitizeGitHubVariables('foo[bot]')).toEqual('foo_bot_');
|
||||
});
|
||||
|
||||
test('removes special characters from worflow names', () => {
|
||||
expect(helpers.sanitizeGithubWorkflowName('sdf234@#$%$^&*()_+{}|:"<>?')).toEqual('sdf234@__________+___:_<>?');
|
||||
expect(helpers.sanitizeGitHubVariables('sdf234@#$%$^&*()_+{}|:"<>?')).toEqual('sdf234@__________+___:_<>?');
|
||||
});
|
||||
|
||||
test('can sleep', () => {
|
||||
|
||||
Reference in new issue
Block a user