chore: build and set cleanup file

This commit is contained in:
peterwoodworth
2023-03-22 16:32:37 -07:00
parent 0181111f1d
commit 3088522ce8
9 changed files with 428 additions and 6 deletions
+2 -2
View File
@@ -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', () => {