Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

542 B
Raw Blame
@testable import PeelCore
import Testing
import UserNotifications

struct NotificationPresentationTests {
    /// A notice stays in Notification Center whatever is in front, and shows as a banner only while Peel is not,
    /// since its window already says what the banner would.
    @Test func keepsEveryNoticeAndShowsABannerOnlyBehindAnotherApp() {
        #expect(NotificationPresentation.options(whilePeelIsActive: true) == [.list])
        #expect(NotificationPresentation.options(whilePeelIsActive: false) == [.banner, .list])
    }
}