Skip to content

Commit ec7e463

Browse files
committed
Revert "[Tests] named: Add direct test for export = assignment in TS"
This reverts commit a49e72a.
1 parent a49e72a commit ec7e463

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

tests/files/typescript-export-assign-object.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/src/rules/named.js

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -388,13 +388,7 @@ context('TypeScript', function () {
388388
'import/resolver': { 'eslint-import-resolver-typescript': true },
389389
};
390390

391-
let valid = [
392-
test({
393-
code: `import { FooBar } from './typescript-export-assign-object'`,
394-
parser,
395-
settings,
396-
}),
397-
];
391+
let valid = [];
398392
const invalid = [
399393
// TODO: uncomment this test
400394
// test({
@@ -406,17 +400,8 @@ context('TypeScript', function () {
406400
// { message: 'a not found in ./export-star-3/b' },
407401
// ],
408402
// }),
409-
test({
410-
code: `import { NotExported } from './typescript-export-assign-object'`,
411-
parser,
412-
settings,
413-
errors: [{
414-
message: `NotExported not found in './typescript-export-assign-object'`,
415-
type: 'Identifier',
416-
}],
417-
}),
418403
];
419-
404+
420405
[
421406
'typescript',
422407
'typescript-declare',

0 commit comments

Comments
 (0)