Removed mocha config from eslint ignore

This commit is contained in:
Evgeniy Timokhov 2020-06-29 19:54:12 +03:00
parent 1f859916eb
commit daf891130c
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
!.eslintrc.js
!.mocharc.js
/dist/**
/lib/**

View File

@ -26,7 +26,7 @@ if (process.env.TESTS_REPORT_FILE) {
// but mocha accept with form (like from cli) of this option
// e.g. option=value,option2=value
config['reporter-options'] = Object.keys(config._reporterOptions)
.map((option) => `${option}=${config._reporterOptions[option]}`)
.map(option => `${option}=${config._reporterOptions[option]}`)
.join(',');
}