mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-23 04:59:26 +08:00
consider slashes while cleaning labels (#231)
fix prettier format check errors
This commit is contained in:
committed by
GitHub
parent
01a65512ea
commit
c117b29f9e
@@ -11,5 +11,10 @@ describe('WorkflowAnnotationUtils', () => {
|
||||
)
|
||||
expect(cleanLabel('with⚒️emoji')).toEqual('withemoji')
|
||||
})
|
||||
it('should remove slashes from label', () => {
|
||||
expect(
|
||||
cleanLabel('Workflow Name / With Slashes / And Spaces')
|
||||
).toEqual('Workflow_Name_-_With_Slashes_-_And_Spaces')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user