Moved the Amiibo API implementation to its own package #2
@ -16,12 +16,12 @@ public struct AmiiboMockClient {
|
||||
|
||||
// MARK: Properties
|
||||
|
||||
private(set) public var amiibos: [Amiibo]?
|
||||
private(set) public var amiiboSeries: [AmiiboSeries]?
|
||||
private(set) public var amiiboTypes: [AmiiboType]?
|
||||
private(set) public var gameCharacters: [GameCharacter]?
|
||||
private(set) public var gameSeries: [GameSeries]?
|
||||
private(set) public var lastUpdated: Date?
|
||||
private let amiibos: [Amiibo]?
|
||||
private let amiiboSeries: [AmiiboSeries]?
|
||||
private let amiiboTypes: [AmiiboType]?
|
||||
private let gameCharacters: [GameCharacter]?
|
||||
private let gameSeries: [GameSeries]?
|
||||
private let lastUpdated: Date?
|
||||
|
||||
// MARK: Initialisers
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
//===----------------------------------------------------------------------===
|
||||
|
||||
import Foundation
|
||||
import OpenAPIRuntime
|
||||
|
||||
public struct AmiiboService {
|
||||
|
||||
|
1135
Tests/AmiiboServiceLiveTests.swift
Normal file
1135
Tests/AmiiboServiceLiveTests.swift
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,7 +0,0 @@
|
||||
import Testing
|
||||
|
||||
@testable import AmiiboAPI
|
||||
|
||||
@Test func example() async throws {
|
||||
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user