diff --git a/lib/preprocessor.js b/lib/preprocessor.js index 213c126..9c6058c 100644 --- a/lib/preprocessor.js +++ b/lib/preprocessor.js @@ -50,7 +50,7 @@ function createCoveragePreprocessor (logger, helper, basePath, reporters, covera }, {}) // if coverage reporter is not used, do not preprocess the files - if (!_.includes(reporters, 'coverage')) { + if (!_.contains(reporters, 'coverage')) { return function (content, _, done) { done(content) }