Skip to content

Commit 4f50dfe

Browse files
authored
test: add a test for self-ref (#280)
refs: #86
1 parent 8551596 commit 4f50dfe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/lib/rules/no-missing-import.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,11 @@ ruleTester.run("no-missing-import", rule, {
318318
code: "import './file.ts';",
319319
},
320320

321+
{
322+
filename: fixture("test.js"),
323+
code: "import plugin from 'eslint-plugin-n';",
324+
},
325+
321326
// import()
322327
...(DynamicImportSupported
323328
? [

0 commit comments

Comments
 (0)