diff --git a/__tests__/rule-tester.js b/__tests__/rule-tester.js index bb6e923b..c7afe899 100644 --- a/__tests__/rule-tester.js +++ b/__tests__/rule-tester.js @@ -20,10 +20,12 @@ function convertConfig(config) { if (config.parserOptions) { Object.assign(config.languageOptions, config.parserOptions) + delete config.parserOptions } if (typeof config.parser === 'string') { config.languageOptions.parser = require(config.parser) + delete config.parser } if (config.globals instanceof Object) {