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

Function TestEnterpriseHandlersOK

enterprise/cli/root_test.go:25–33  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

23}
24
25func TestEnterpriseHandlersOK(t *testing.T) {
26 t.Parallel()
27
28 var root cli.RootCmd
29 cmd, err := root.Command(root.EnterpriseSubcommands())
30 require.NoError(t, err)
31
32 clitest.HandlersOK(t, cmd)
33}
34
35func TestCheckWarnings(t *testing.T) {
36 t.Parallel()

Callers

nothing calls this directly

Calls 3

CommandMethod · 0.95
EnterpriseSubcommandsMethod · 0.95
HandlersOKFunction · 0.92

Tested by

no test coverage detected