Skip to content

Commit

Permalink
Merge pull request #222 from ably/add-wrapper-sdk-proxy-spec-comments
Browse files Browse the repository at this point in the history
Add spec point comments for wrapper SDK proxy client
  • Loading branch information
lawrence-forooghian authored Feb 19, 2025
2 parents 46c0e1f + 1dd26b2 commit b8937a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/AblyChatTests/DefaultChatClientTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ struct DefaultChatClientTests {
#expect(client.realtime === realtime)
}

// @spec CHA-IN1a
// @spec CHA-IN1b
@Test
func createsWrapperSDKProxyRealtimeClientWithAgents() throws {
let realtime = MockRealtime(createWrapperSDKProxyReturnValue: .init())
Expand All @@ -35,6 +37,7 @@ struct DefaultChatClientTests {
#expect(realtime.createWrapperSDKProxyOptionsArgument?.agents == ["chat-swift": AblyChat.version])
}

// @spec CHA-IN1d
@Test
func rooms() throws {
// Given: An instance of DefaultChatClient
Expand Down

0 comments on commit b8937a9

Please sign in to comment.