Updated the Amiibo.Platform type in the library target to initialize Switch 2 games from a given payload.

This commit is contained in:
2025-11-09 21:06:07 +01:00
parent e9f244c90a
commit adaedcda07
3 changed files with 13 additions and 0 deletions
@@ -365,6 +365,8 @@ private extension AmiiboServiceLiveTests {
if filter.showUsage == true {
#expect(firstAmiiboPlatform.switch.first?.usages?.isEmpty == false)
// Given the live data is still not returning any Switch 2 games.
#expect(firstAmiiboPlatform.switch2.isEmpty == true)
#expect(firstAmiiboPlatform.threeDS.first?.usages?.isEmpty == false)
#expect(firstAmiiboPlatform.wiiU.first?.usages?.isEmpty == false)
}