mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-07 14:34:35 -06:00
Add regression test
This commit is contained in:
parent
71c92bf2f6
commit
5d8598f280
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 },
|
||||
]);
|
||||
Loading…
x
Reference in New Issue
Block a user