23 lines · 872 B · Swift
RawDownload
import CodexBarCoreimport Testing@testable import CodexBar struct CommandCodeProviderTests {    @Test    func `descriptor metadata is correct`() {        let descriptor = ProviderDescriptorRegistry.descriptor(for: .commandcode)         #expect(descriptor.metadata.displayName == "Command Code")        #expect(descriptor.metadata.dashboardURL == "https://commandcode.ai/studio")        #expect(descriptor.metadata.subscriptionDashboardURL == "https://commandcode.ai/sixhobbits/settings/billing")        #expect(descriptor.metadata.cliName == "commandcode")        #expect(descriptor.branding.iconResourceName == "ProviderIcon-commandcode")        #expect(descriptor.branding.iconStyle == .commandcode)    }     @MainActor    @Test    func `implementation is registered`() {        #expect(ProviderCatalog.implementation(for: .commandcode) != nil)    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t