(t testing.TB, overrides ...func(*coderdtest.Options))
| 116 | } |
| 117 | |
| 118 | func newChatClientWithDatabase(t testing.TB, overrides ...func(*coderdtest.Options)) (*codersdk.ExperimentalClient, database.Store) { |
| 119 | t.Helper() |
| 120 | |
| 121 | opts := newChatTestOptions(t, chatDeploymentValues(t), overrides...) |
| 122 | client, db := coderdtest.NewWithDatabase(t, opts) |
| 123 | return codersdk.NewExperimentalClient(client), db |
| 124 | } |
| 125 | |
| 126 | func newChatClientWithAPIAndDatabase(t testing.TB, overrides ...func(*coderdtest.Options)) (*codersdk.ExperimentalClient, database.Store, *coderd.API) { |
| 127 | t.Helper() |
no test coverage detected