Skip to content

Commit

Permalink
test: Add a test for #66
Browse files Browse the repository at this point in the history
  • Loading branch information
scagood committed Nov 25, 2023
1 parent fa5528e commit aa800e5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
11 changes: 11 additions & 0 deletions tests/lib/rules/no-missing-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,17 @@ ruleTester.run("no-missing-import", rule, {
env: { node: true },
},

// type only tests
{
filename: fixture("test.ts"),
parser: path.join(
__dirname,
"../../../node_modules/@typescript-eslint/parser"
),
code: "import type d from 'types-only';",
env: { node: true },
},

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

0 comments on commit aa800e5

Please sign in to comment.