MCPcopy Create free account
hub / github.com/github/gh-aw / TestGetMCPNetworkMigrationCodemod

Function TestGetMCPNetworkMigrationCodemod

pkg/cli/codemod_mcp_network_test.go:12–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

10)
11
12func TestGetMCPNetworkMigrationCodemod(t *testing.T) {
13 codemod := getMCPNetworkMigrationCodemod()
14
15 // Verify codemod metadata
16 assert.Equal(t, "mcp-network-to-top-level-migration", codemod.ID)
17 assert.Equal(t, "Migrate MCP network config to top-level", codemod.Name)
18 assert.NotEmpty(t, codemod.Description)
19 assert.Equal(t, "0.6.0", codemod.IntroducedIn)
20 require.NotNil(t, codemod.Apply)
21}
22
23func TestMCPNetworkCodemod_NoMCPServers(t *testing.T) {
24 codemod := getMCPNetworkMigrationCodemod()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected