Skip to content

Commit

Permalink
comment out for now
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Aug 6, 2023
1 parent 0d2b737 commit 864effb
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions tests/src/rules/no-duplicates.js
Original file line number Diff line number Diff line change
Expand Up @@ -1053,21 +1053,21 @@ context('TypeScript', function () {
}
],
}),
// #2834 Detect duplicates across type and regular imports
test({
code: "import {AValue} from './foo'; import type {AType} from './foo'",
...parserConfig,
options: [{ 'prefer-inline': true }],
output: `import {AValue,type AType} from './foo'; `,
errors: [
{
line: 1,
column: 22,
column: 56,
message: "'./foo' imported multiple times.",
},
],
}),
// // #2834 Detect duplicates across type and regular imports
// test({
// code: "import {AValue} from './foo'; import type {AType} from './foo'",
// ...parserConfig,
// options: [{ 'prefer-inline': true }],
// output: `import {AValue,type AType} from './foo'; `,
// errors: [
// {
// line: 1,
// column: 22,
// column: 56,
// message: "'./foo' imported multiple times.",
// },
// ],
// }),
]);

ruleTester.run('no-duplicates', rule, {
Expand Down

0 comments on commit 864effb

Please sign in to comment.