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

Inist-CNRS / ezs / 17267738980

27 Aug 2025 01:12PM UTC coverage: 95.388% (-0.1%) from 95.519%
17267738980

Pull #462

github

web-flow
Merge 22c6668dc into 56ca7b899
Pull Request #462: feat: 🎸 add [detach]

2220 of 2404 branches covered (92.35%)

Branch coverage included in aggregate %.

34 of 38 new or added lines in 6 files covered. (89.47%)

4 existing lines in 2 files now uncovered.

4584 of 4729 relevant lines covered (96.93%)

80855.68 hits per line

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

25.0
/packages/core/src/json.js
1
import Expression from './expression.js';
2

3
function parse(data) {
NEW
4
    if (!data) return data;
×
5
    return JSON.parse(data, (key, value) => {
×
6
        if (value && typeof value === 'string' && value.indexOf('Expression::') === 0) {
×
7
            return new Expression(JSON.parse(value.replace('Expression::', '')));
×
8
        }
9
        return value;
×
10
    });
11
}
12

13
function stringify(data) {
14
    if (!data) return data;
228✔
15
    return JSON.stringify(data);
6✔
16
}
17

18
export default {
19
    parse,
20
    stringify,
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