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

mongodb-js / mongodb-mcp-server / 14671892165

25 Apr 2025 07:17PM UTC coverage: 67.88% (-14.6%) from 82.446%
14671892165

Pull #136

github

web-flow
chore(deps-dev): bump @types/node from 22.14.1 to 22.15.2

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.14.1 to 22.15.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #136: chore(deps-dev): bump @types/node from 22.14.1 to 22.15.2

99 of 212 branches covered (46.7%)

Branch coverage included in aggregate %.

628 of 859 relevant lines covered (73.11%)

43.31 hits per line

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

10.0
/src/common/atlas/apiClientError.ts
1
export class ApiClientError extends Error {
31✔
2
    response?: Response;
3

4
    constructor(message: string, response: Response | undefined = undefined) {
×
5
        super(message);
×
6
        this.name = "ApiClientError";
×
7
        this.response = response;
×
8
    }
9

10
    static async fromResponse(
11
        response: Response,
12
        message: string = `error calling Atlas API`
×
13
    ): Promise<ApiClientError> {
14
        try {
×
15
            const text = await response.text();
×
16
            return new ApiClientError(`${message}: [${response.status} ${response.statusText}] ${text}`, response);
×
17
        } catch {
18
            return new ApiClientError(`${message}: ${response.status} ${response.statusText}`, response);
×
19
        }
20
    }
21
}
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