Skip to content

Commit f20a330

Browse files
committed
add tests
1 parent 14f6bf2 commit f20a330

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/// <reference path="fourslash.ts" />
2+
3+
//// [|f1/*0*/();|]
4+
5+
// @Filename: node_modules/@types/myLib/index.d.ts
6+
//// export function f1() {}
7+
//// export var v1 = 5;
8+
9+
verify.importFixAtPosition([
10+
`import { f1 } from "myLib";
11+
12+
f1();`
13+
]);
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/// <reference path="fourslash.ts" />
2+
3+
//// [|f1/*0*/();|]
4+
5+
// @Filename: node_modules/@types/myLib__scoped/index.d.ts
6+
//// export function f1() {}
7+
//// export var v1 = 5;
8+
9+
verify.importFixAtPosition([
10+
`import { f1 } from "@myLib/scoped";
11+
12+
f1();`
13+
]);

0 commit comments

Comments
 (0)