Skip to content

Commit c4320a2

Browse files
committed
Comment test
1 parent 9e03db2 commit c4320a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/cases/fourslash/pathCompletionsAllowTsExtensions.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@
1010
// @Filename: /project/main.ts
1111
//// import {} from ".//**/"
1212

13+
// Extensionless by default
1314
verify.completions({
1415
marker: "",
1516
isNewIdentifierLocation: true,
1617
exact: ["foo"],
1718
});
1819

20+
// .ts extension when allowImportingTsExtensions is true and setting is js...
1921
verify.completions({
2022
marker: "",
2123
isNewIdentifierLocation: true,
@@ -25,8 +27,8 @@ verify.completions({
2527
},
2628
});
2729

30+
// ...or when another import uses .ts extension
2831
edit.insert(`foo.ts"\nimport {} from "./`);
29-
3032
verify.completions({
3133
marker: "",
3234
isNewIdentifierLocation: true,

0 commit comments

Comments
 (0)