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

hildjj / node-inspect-extracted / 9053558361

12 May 2024 06:59PM UTC coverage: 97.922%. Remained the same
9053558361

push

github

hildjj
3.0.2

1812 of 1862 branches covered (97.31%)

Branch coverage included in aggregate %.

3749 of 3817 relevant lines covered (98.22%)

2306.02 hits per line

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

100.0
/src/internal/util.js
1
'use strict';
36✔
2

36✔
3
// eslint-disable-next-line no-control-regex
36✔
4
const colorRegExp = /\u001b\[\d\d?m/g;
36✔
5

36✔
6
module.exports = {
36✔
7
  customInspectSymbol: Symbol.for('nodejs.util.inspect.custom'),
36✔
8
  isError(e) {
36✔
9
    return e instanceof Error;
1,248✔
10
  },
36✔
11
  join: Array.prototype.join.call.bind(Array.prototype.join),
36✔
12
  removeColors(str) {
36✔
13
    return String.prototype.replace.call(str, colorRegExp, '');
200✔
14
  },
36✔
15
};
36✔
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

© 2026 Coveralls, Inc