Skip to content

Commit 0f15bda

Browse files
committed
Add failing test
1 parent 9052804 commit 0f15bda

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/testRunner/unittests/services/organizeImports.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,19 @@ import { } from "lib";
343343
},
344344
libFile);
345345

346+
testOrganizeImports("Unused_false_positive_module_augmentation",
347+
{
348+
path: "/test.d.ts",
349+
content: `
350+
import { Caseless } from 'caseless';
351+
352+
declare module 'caseless' {
353+
interface Caseless {
354+
test(name: KeyType): boolean;
355+
}
356+
}`
357+
});
358+
346359
testOrganizeImports("Unused_false_positive_shorthand_assignment",
347360
{
348361
path: "/test.ts",

0 commit comments

Comments
 (0)