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

nodeplusplus / xregex-yml / 60

pending completion
60

Pull #11

circleci

Unknown Committer
Unknown Commit Message
Pull Request #11: Bump json5 from 2.1.2 to 2.2.3

22 of 22 branches covered (100.0%)

Branch coverage included in aggregate %.

27 of 27 relevant lines covered (100.0%)

2.78 hits per line

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

100.0
/src/yamlTypes/loader.ts
1
import path from "path";
1✔
2
import _ from "lodash";
1✔
3
import yaml from "js-yaml";
1✔
4

5
export default new yaml.Type("!LOADER", {
1✔
6
  kind: "sequence",
7
  construct: ([filePath, property]: [string, string?]) => {
8
    const data = require(path.resolve(filePath));
6✔
9
    return property ? _.get(data, property) : data;
6✔
10
  },
11
});
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