(t *testing.T, dbPool *pgxpool.Pool, config *Config)
| 196 | } |
| 197 | |
| 198 | func newTestClient(t *testing.T, dbPool *pgxpool.Pool, config *Config) *Client[pgx.Tx] { |
| 199 | t.Helper() |
| 200 | |
| 201 | client, err := NewClient(riverpgxv5.New(dbPool), config) |
| 202 | require.NoError(t, err) |
| 203 | |
| 204 | return client |
| 205 | } |
| 206 | |
| 207 | func startClient[TTx any](ctx context.Context, t *testing.T, client *Client[TTx]) { |
| 208 | t.Helper() |
no test coverage detected
searching dependent graphs…