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

realm / realm-core / github_pull_request_312964

19 Feb 2025 07:31PM UTC coverage: 90.814% (-0.3%) from 91.119%
github_pull_request_312964

Pull #8071

Evergreen

web-flow
Bump serialize-javascript and mocha

Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) to 6.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together.


Updates `serialize-javascript` from 6.0.0 to 6.0.2
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v6.0.0...v6.0.2)

Updates `mocha` from 10.2.0 to 10.8.2
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.2.0...v10.8.2)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-type: indirect
- dependency-name: mocha
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #8071: Bump serialize-javascript and mocha

96552 of 179126 branches covered (53.9%)

212672 of 234185 relevant lines covered (90.81%)

3115802.0 hits per line

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

47.06
/src/realm/util/misc_ext_errors.cpp
1
#include <realm/util/assert.hpp>
2
#include <realm/util/misc_ext_errors.hpp>
3

4
using namespace realm;
5

6
util::MiscExtErrorCategory util::misc_ext_error_category;
7

8

9
const char* util::MiscExtErrorCategory::name() const noexcept
10
{
×
11
    return "realm.util.misc_ext";
×
12
}
×
13

14

15
std::string util::MiscExtErrorCategory::message(int value) const
16
{
752✔
17
    switch (MiscExtErrors(value)) {
752✔
18
        case MiscExtErrors::end_of_input:
748✔
19
            return "End of input";
748✔
20
        case MiscExtErrors::premature_end_of_input:
4✔
21
            return "Premature end of input";
4✔
22
        case MiscExtErrors::delim_not_found:
✔
23
            return "Delimiter not found";
×
24
        case MiscExtErrors::operation_not_supported:
✔
25
            return "Operation not supported";
×
26
    }
752✔
27
    REALM_ASSERT(false);
×
28
    return {};
×
29
}
752✔
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