style: fix prettier formatting in orchestration tests

This commit is contained in:
Salman Chishti
2026-04-07 16:35:32 +00:00
committed by GitHub
parent a8ea745713
commit b0917c5a37
@@ -73,9 +73,7 @@ describe('orchestration ID support', () => {
it('sets userAgent when ACTIONS_ORCHESTRATION_ID is set', () => {
process.env['ACTIONS_ORCHESTRATION_ID'] = 'test-orch-id'
const opts = getOctokitOptions('fake-token')
expect(opts.userAgent).toBe(
'actions_orchestration_id/test-orch-id'
)
expect(opts.userAgent).toBe('actions_orchestration_id/test-orch-id')
})
it('does not set userAgent when ACTIONS_ORCHESTRATION_ID is not set', () => {
@@ -110,9 +108,7 @@ describe('orchestration ID support', () => {
it('sanitizes special characters through getOctokitOptions', () => {
process.env['ACTIONS_ORCHESTRATION_ID'] = 'bad chars here!'
const opts = getOctokitOptions('fake-token')
expect(opts.userAgent).toBe(
'actions_orchestration_id/bad_chars_here_'
)
expect(opts.userAgent).toBe('actions_orchestration_id/bad_chars_here_')
})
})
})