Module name casing issue with `findIndex`