MCPcopy Index your code
hub / github.com/coder/coder / aibridgeOpts

Function aibridgeOpts

enterprise/coderd/aibridge_test.go:653–667  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

651}
652
653func aibridgeOpts(t *testing.T) *coderdenttest.Options {
654 t.Helper()
655 dv := coderdtest.DeploymentValues(t)
656 dv.AI.BridgeConfig.Enabled = serpent.Bool(true)
657 return &coderdenttest.Options{
658 Options: &coderdtest.Options{
659 DeploymentValues: dv,
660 },
661 LicenseOptions: &coderdenttest.LicenseOptions{
662 Features: license.Features{
663 codersdk.FeatureAIBridge: 1,
664 },
665 },
666 }
667}
668
669func TestAIBridgeListSessions(t *testing.T) {
670 t.Parallel()

Callers 3

TestAIBridgeListSessionsFunction · 0.85

Calls 2

DeploymentValuesFunction · 0.92
HelperMethod · 0.65

Tested by

no test coverage detected