mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 13:12:53 +00:00
Delete declarations that Periphery reports unused on every platform that compiles them (iOS, macOS, tvOS), including nine views used only by their own previews. Platform-gated code still used on another platform, device- only MPV render paths, migration models, CloudKit record names, App Intents metadata and unused parameters are kept.
32 lines
854 B
Swift
32 lines
854 B
Swift
//
|
|
// TestConstants.swift
|
|
// YatteeTests
|
|
//
|
|
// Constants for integration tests.
|
|
//
|
|
|
|
import Foundation
|
|
@testable import Yattee
|
|
|
|
/// Constants for integration testing against a real Invidious instance.
|
|
enum IntegrationTestConstants {
|
|
/// Test Invidious instance URL (from CLAUDE.md).
|
|
static let testInstanceURL = URL(string: "https://i01.v.yattee.stream")!
|
|
|
|
/// Test instance for API calls.
|
|
static let testInstance = Instance(
|
|
type: .invidious,
|
|
url: testInstanceURL,
|
|
name: "Test Instance"
|
|
)
|
|
|
|
/// A stable, popular video ID for testing (Rick Astley - Never Gonna Give You Up).
|
|
static let testVideoID = "dQw4w9WgXcQ"
|
|
|
|
/// Rick Astley's channel ID.
|
|
static let testChannelID = "UCuAXFkgsw1L7xaCfnd5JJOw"
|
|
|
|
/// A stable search query.
|
|
static let testSearchQuery = "never gonna give you up"
|
|
}
|