(t testing.TB, overrides ...func(*coderdtest.Options))
| 97 | } |
| 98 | |
| 99 | func newChatClientWithAPI(t testing.TB, overrides ...func(*coderdtest.Options)) (*codersdk.ExperimentalClient, *coderd.API) { |
| 100 | t.Helper() |
| 101 | |
| 102 | opts := newChatTestOptions(t, chatDeploymentValues(t), overrides...) |
| 103 | client, _, api := coderdtest.NewWithAPI(t, opts) |
| 104 | return codersdk.NewExperimentalClient(client), api |
| 105 | } |
| 106 | |
| 107 | func newChatClientWithDeploymentValues( |
| 108 | t testing.TB, |
no test coverage detected