Fix code coverage
This commit is contained in:
parent
04fdbd6d8d
commit
7a6893551d
4 changed files with 24 additions and 8 deletions
|
|
@ -1,3 +1,4 @@
|
|||
// TODO: When targeting Node.js 16, use `String.prototype.replaceAll`.
|
||||
export function stringReplaceAll(string, substring, replacer) {
|
||||
let index = string.indexOf(substring);
|
||||
if (index === -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue