Skip to content

Commit

Permalink
Revert "test: ensure no-restricted-imports works with NodeJS imports (e…
Browse files Browse the repository at this point in the history
…slint#15907)"

This reverts commit eac90f5.
  • Loading branch information
srijan-deepsource committed May 30, 2022
1 parent df8b1fc commit 1f40f21
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/lib/rules/no-restricted-imports.js
Expand Up @@ -1083,17 +1083,6 @@ ruleTester.run("no-restricted-imports", rule, {
column: 1,
endColumn: 41
}]
},
{
code: "import absoluteWithPatterns from '#foo/bar';",
options: [{ patterns: ["\\#foo"] }],
errors: [{
message: "'#foo/bar' import is restricted from being used by a pattern.",
type: "ImportDeclaration",
line: 1,
column: 1,
endColumn: 45
}]
}
]
});

0 comments on commit 1f40f21

Please sign in to comment.