Skip to content

Commit 9122a5c

Browse files
committed
chore: add some tests
1 parent 7242ebf commit 9122a5c

File tree

9 files changed

+991
-45
lines changed

9 files changed

+991
-45
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"fast-glob": "^3.3.3",
4141
"glob": "9.3.5",
4242
"inquirer": "^6.2.0",
43+
"lodash": "^4.17.21",
4344
"magicast": "^0.2.10",
4445
"opn": "^5.4.0",
4546
"posthog-node": "^4.9.0",
@@ -59,7 +60,7 @@
5960
"@types/glob": "^7.2.0",
6061
"@types/inquirer": "^0.0.43",
6162
"@types/jest": "^29.5.14",
62-
"@types/lodash": "^4.14.144",
63+
"@types/lodash": "^4.17.15",
6364
"@types/node": "^18.19.76",
6465
"@types/opn": "5.1.0",
6566
"@types/rimraf": "^3.0.2",

pnpm-lock.yaml

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/mcp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
getOrAskForProjectData,
1111
} from './utils/clack-utils';
1212
import type { CloudRegion } from './utils/types';
13-
import { arrayToSentence } from './utils/helper-functions';
1413

1514
export const runMCPInstall = async (options: {
1615
signup: boolean;
@@ -51,7 +50,8 @@ export const runMCPRemove = async () => {
5150
return;
5251
}
5352

54-
clack.outro(`PostHog MCP server removed from ${arrayToSentence(results)}.
53+
clack.outro(`PostHog MCP server removed from:
54+
${results.map((c) => `- ${c}`).join('\n ')}
5555
5656
${chalk.cyan(
5757
'You might need to restart your MCP clients to see the changes.',

0 commit comments

Comments
 (0)