• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/// <reference path="fourslash.ts" />
2
3// @allowJs: true
4// @Filename: a.ts
5//// const f = {
6////    a: 1
7////};
8//// import * as thing from "thing" /*0*/
9//// export { foo } from "foo" /*1*/
10//// import "foo" as /*2*/
11//// import "foo" a/*3*/
12//// import * as that from "that"
13//// /*4*/
14//// import * /*5*/ as those from "those"
15
16// @Filename: b.js
17//// import * as thing from "thing" /*js*/;
18
19const assertEntry = {
20    name: "assert",
21    kind: "keyword",
22    sortText: completion.SortText.GlobalsOrKeywords,
23};
24
25verify.completions(
26    {
27        marker: "0",
28        includes: [assertEntry],
29    },
30    {
31        marker: "1",
32        includes: [assertEntry],
33    },
34    {
35        marker: "2",
36        excludes: ["assert"],
37    },
38    {
39        marker: "3",
40        includes: [assertEntry],
41    },
42    {
43        marker: "4",
44        excludes: ["assert"],
45    },
46    {
47        marker: "5",
48        excludes: ["assert"],
49    },
50    {
51        marker: "js",
52        includes: [assertEntry],
53    },
54);
55