test: remove 11 low-value suites and theme/NVM policy cases from combined audit (#42678)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
OrcaWin
2026-11-15 01:25:47 -08:00
committed by GitHub
co-authored by OrcaWin
parent a2bcfef327
commit 4e834bf939
15 changed files with 3 additions and 638 deletions
@@ -1,15 +0,0 @@
import { describe, expect, it } from 'vitest'
import { ghTokenEnvVarForHost } from './account-binding'
describe('ghTokenEnvVarForHost', () => {
it('selects GH_TOKEN for github.com, github.localhost, and *.ghe.com', () => {
expect(ghTokenEnvVarForHost('github.com')).toBe('GH_TOKEN')
expect(ghTokenEnvVarForHost('github.localhost')).toBe('GH_TOKEN')
expect(ghTokenEnvVarForHost('acme.ghe.com')).toBe('GH_TOKEN')
})
it('selects GH_ENTERPRISE_TOKEN for classic GHES hosts', () => {
expect(ghTokenEnvVarForHost('github.acme-corp.com')).toBe('GH_ENTERPRISE_TOKEN')
expect(ghTokenEnvVarForHost('ghe.internal')).toBe('GH_ENTERPRISE_TOKEN')
})
})