stryker-mutator / stryker-js

Mutation testing for JavaScript and friends
https://stryker-mutator.io
Apache License 2.0
2.58k stars 249 forks source link

refactor(child-process): use a map instead of an array #4692

Closed nicojs closed 8 months ago

nicojs commented 8 months ago

Use a Map instead of an array, so we don't need to delete from the array, instead we can use map.delete.

See https://typescript-eslint.io/rules/no-array-delete/ on why it's a bad practice.