Skip to content

Commit b66e039

Browse files
committed
feat: optimize test cases
1 parent 0630cfe commit b66e039

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference path="fourslash.ts" />
22

3-
//// var x = this as/*1*/
3+
//// var x = 'something'
4+
//// var y = this as/*1*/
45

5-
verify.completions({marker: "1", exact: completion.globals })
6+
verify.completions({marker: "1", exact: completion.globalsPlus(["x"]) })
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/// <reference path='fourslash.ts' />
22

33
//@Filename: file.tsx
4-
//// var x = </**/;
4+
//// var x = 'something'
5+
//// var y = </**/;
56

6-
verify.completions({ marker: "", exact: [completion.globalThisEntry, ...completion.globalsVars, completion.undefinedVarEntry] });
7+
verify.completions({ marker: "", exact: [completion.globalThisEntry, ...completion.globalsVars, "x", completion.undefinedVarEntry] });

0 commit comments

Comments
 (0)