mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 19:34:29 +00:00
test: remove 55 low-value suites (#42931)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
import { describe, expect, it } from 'vitest'
|
||||
import { githubRepoIdentityKey, isDefaultGitHubHost } from './repository-identity-key'
|
||||
|
||||
describe('GitHub repository identity', () => {
|
||||
it('normalizes case and harmless surrounding whitespace without merging GHES hosts', () => {
|
||||
expect(isDefaultGitHubHost(' GitHub.com ')).toBe(true)
|
||||
expect(githubRepoIdentityKey({ owner: 'Acme', repo: 'Widgets', host: ' GitHub.com ' })).toBe(
|
||||
'acme/widgets'
|
||||
)
|
||||
expect(
|
||||
githubRepoIdentityKey({ owner: 'Acme', repo: 'Widgets', host: ' GHE.EXAMPLE:8443 ' })
|
||||
).toBe('ghe.example:8443/acme/widgets')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user