Revision control
Copy as Markdown
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
import XCTest
@testable import SiteImageView
final class BundleDomainBuilderTests: XCTestCase {
func testMobileBundleSite() {
let subject = BundleDomainBuilder()
XCTAssertEqual(result, ["example", "m.example.com", "example.com"])
}
func testPathSite() {
let subject = BundleDomainBuilder()
XCTAssertEqual(result, ["example", "example.com/to/something", "example.com"])
}
}