Fixing path.resolve issue for --coverageExclude