• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mongodb-js / mongodb-mcp-server / 23072518523

13 Mar 2026 10:10PM UTC coverage: 78.416% (-3.6%) from 82.002%
23072518523

Pull #952

github

web-flow
Merge b54237cb7 into 097699472
Pull Request #952: feat: Setting MCP up with AI Tooling CLOUDP-384442

1727 of 2208 branches covered (78.22%)

Branch coverage included in aggregate %.

4 of 557 new or added lines in 6 files covered. (0.72%)

8166 of 10408 relevant lines covered (78.46%)

114.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/setup/setupAiToolsUtils.ts
NEW
1
import os from "os";
×
2

3
export type Platform = "mac" | "windows" | "linux";
NEW
4
export const getPlatform = (): Platform | null => {
×
NEW
5
    switch (os.platform()) {
×
NEW
6
        case "win32":
×
NEW
7
            return "windows";
×
NEW
8
        case "darwin":
×
NEW
9
            return "mac";
×
NEW
10
        case "linux":
×
NEW
11
            return "linux";
×
NEW
12
        default:
×
NEW
13
            return null;
×
NEW
14
    }
×
NEW
15
};
×
16

NEW
17
export const formatError = (error: unknown): string => (error instanceof Error ? error.message : String(error));
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc