mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
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:
@@ -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')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user