Skip to content

Commit

Permalink
Add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmengels committed Jul 13, 2016
1 parent 7224548 commit 3f9cec8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/src/rules/no-extraneous-dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"',
Expand Down

0 comments on commit 3f9cec8

Please sign in to comment.