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

mongodb-js / mongodb-mcp-server / 14637601756

24 Apr 2025 08:57AM UTC coverage: 42.737% (-32.7%) from 75.474%
14637601756

Pull #103

github

fmenezes
fix: rename describes
Pull Request #103: refactor: split test helpers

30 of 187 branches covered (16.04%)

Branch coverage included in aggregate %.

376 of 763 relevant lines covered (49.28%)

1.85 hits per line

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

75.0
/src/errors.ts
1
export enum ErrorCodes {
1✔
2
    NotConnectedToMongoDB = 1_000_000,
1✔
3
    InvalidParams = 1_000_001,
1✔
4
}
5

6
export class MongoDBError extends Error {
1✔
7
    constructor(
8
        public code: ErrorCodes,
×
9
        message: string
10
    ) {
11
        super(message);
×
12
    }
13
}
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

© 2025 Coveralls, Inc