native macOS codings agent orchestrator prowl.onev.cat
Something went wrong. Try again.
Swift
1234567891011121314151617181920import SwiftUIimport Testing
@testable import Prowl
@MainActorstruct GhosttyRuntimeColorSchemeTests { @Test func initialColorSchemeIsAppliedBeforeSurfacesAreRegistered() { let runtime = GhosttyRuntime(initialColorScheme: .dark)
#expect(runtime.appliedColorSchemeForTesting == .dark) }
@Test func missingInitialColorSchemeLeavesRuntimeUnspecified() { let runtime = GhosttyRuntime()
#expect(runtime.appliedColorSchemeForTesting == nil) }}