Skip to content
Source
Sign inSign up
pingdotgg/t3code

test(swift-ios): use environment-scoped provider catalogs #6130

Mergedsaphid(GitHub profile, opens in a new tab)merged 1 commit intot3code/rebuild-mobile-app-swift fromrefs/pull/6130/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 1 changed file with 8 additions and 4 deletions.

x
0 of 1 viewed, 1 left
8 additions and 4 deletionsapps/swift-ios/Tests/FeatureTests/HomeThreadMetadataTests.swiftModified
View file
@@ -130,7 +130,9 @@
path: "/work/t3code"
- providers: [FeatureProvider(id: "claude", name: "Claude")]
+ providersByEnvironment: [
+ "device": [FeatureProvider(id: "claude", name: "Claude")],
+ ]
​
#expect(thread.homeEnvironmentLabel(in: snapshot) == "steambox")
@@ -162,9 +164,11 @@
threads: [knownThread, customThread],
- providers: [
- FeatureProvider(id: "work-claude", name: "Claude Code", driver: "custom"),
- FeatureProvider(id: "acme-agent", name: "Acme Agent", driver: "custom"),
+ providersByEnvironment: [
+ "device": [
+ FeatureProvider(id: "work-claude", name: "Claude Code", driver: "custom"),
+ FeatureProvider(id: "acme-agent", name: "Acme Agent", driver: "custom"),
+ ],
​