(t *testing.T)
| 64 | } |
| 65 | |
| 66 | func wsFastHandlerTester(t *testing.T) *httpexpect.Expect { |
| 67 | return httpexpect.WithConfig(httpexpect.Config{ |
| 68 | BaseURL: "http://example.com", |
| 69 | WebsocketDialer: httpexpect.NewFastWebsocketDialer(WsFastHTTPHandler), |
| 70 | Reporter: httpexpect.NewAssertReporter(t), |
| 71 | Printers: []httpexpect.Printer{ |
| 72 | httpexpect.NewDebugPrinter(t, true), |
| 73 | }, |
| 74 | }) |
| 75 | } |
| 76 | |
| 77 | func TestWsFastHandlerText(t *testing.T) { |
| 78 | e := wsFastHandlerTester(t) |
no outgoing calls
no test coverage detected
searching dependent graphs…