Skip to content
Snippets Groups Projects
follow_test.go 942 B
////////////////////////////////////////////////////////////////////////////////
// Copyright © 2022 xx foundation                                             //
//                                                                            //
// Use of this source code is governed by a license that can be found in the  //
// LICENSE file.                                                              //
////////////////////////////////////////////////////////////////////////////////

package cmix

//func TestClient_Follow(t *testing.T) {
//	m, err := newTestClient(t)
//	if err != nil {
//		t.Fatalf("Failed to create test client: %+v", err)
//	}
//
//	clientErrorReport := func(source, message, trace string) {
//
//	}
//	s, err := m.Follow(clientErrorReport)
//	if err != nil {
//		t.Errorf("Failed to follow network: %+v", err)
//	}
//
//	err = s.Close()
//	if err != nil {
//		t.Errorf("Failed to close follower: %+v", err)
//	}
//}