24 lines
521 B
Go
24 lines
521 B
Go
package liveshare
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestClientJoin(t *testing.T) {
|
|
// connection := Connection{
|
|
// SessionID: "session-id",
|
|
// SessionToken: "session-token",
|
|
// RelayEndpoint: "relay-endpoint",
|
|
// RelaySAS: "relay-sas",
|
|
// }
|
|
|
|
// client, err := NewClient(WithConnection(connection))
|
|
// if err != nil {
|
|
// t.Errorf("error creating client: %v", err)
|
|
// }
|
|
|
|
// ctx := context.Background()
|
|
// if err := client.Join(ctx); err != nil {
|
|
// t.Errorf("error joining client: %v", err)
|
|
// }
|
|
}
|