diff --git a/tests/src/rules/no-extraneous-dependencies.js b/tests/src/rules/no-extraneous-dependencies.js index 0e5e97c85..5d5ead1a5 100644 --- a/tests/src/rules/no-extraneous-dependencies.js +++ b/tests/src/rules/no-extraneous-dependencies.js @@ -23,6 +23,10 @@ ruleTester.run('no-extraneous-dependencies', rule, { test({ code: 'import "lodash.isarray"'}), test({ code: 'import "@scope/core"'}), + test({ code: 'import "electron"', settings: { 'import/core-modules': ['electron'] } }), + test({ + code: 'import "eslint"', + }), test({ code: 'import "electron"', settings: { 'import/core-modules': ['electron'] } }), test({ code: 'import "eslint"',