Skip to content

Commit

Permalink
test: add a test for self-ref (#280)
Browse files Browse the repository at this point in the history
refs: #86
  • Loading branch information
aladdin-add authored May 16, 2024
1 parent 8551596 commit 4f50dfe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/lib/rules/no-missing-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,11 @@ ruleTester.run("no-missing-import", rule, {
code: "import './file.ts';",
},

{
filename: fixture("test.js"),
code: "import plugin from 'eslint-plugin-n';",
},

// import()
...(DynamicImportSupported
? [
Expand Down

0 comments on commit 4f50dfe

Please sign in to comment.