mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
Add regression test
This commit is contained in:
17
tests/cases/fourslash/completionListInImportClause05.ts
Normal file
17
tests/cases/fourslash/completionListInImportClause05.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @Filename: app.ts
|
||||
//// import * as A from "[|/*1*/|]";
|
||||
|
||||
// @Filename: /node_modules/@types/a__b/index.d.ts
|
||||
////declare module "@e/f" { function fun(): string; }
|
||||
|
||||
// @Filename: /node_modules/@types/c__d/index.d.ts
|
||||
////export declare let x: number;
|
||||
|
||||
const [replacementSpan] = test.ranges();
|
||||
verify.completionsAt("1", [
|
||||
{ name: "@a/b", replacementSpan },
|
||||
{ name: "@c/d", replacementSpan },
|
||||
{ name: "@e/f", replacementSpan },
|
||||
]);
|
||||
Reference in New Issue
Block a user