Skip to content

Commit

Permalink
chore(): updated fetchAuthSession Unit Test
Browse files Browse the repository at this point in the history
  • Loading branch information
tyllark committed Feb 20, 2025
1 parent 61fe7a3 commit a91d167
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ class NativeAuthPluginTests: XCTestCase {
case .success(let session):
XCTAssertEqual(session.isSignedIn, isSignedIn)
case .failure(let error):
break //XCTFail("fetchAuthSession failed with error: \(error)")
if(error.code == "channel-error") {
XCTFail("fetchAuthSession failed with error: \(error)")
}
}
}
waitForExpectations(timeout: 1)
Expand Down

0 comments on commit a91d167

Please sign in to comment.