Skip to content

Commit c808430

Browse files
committed
redo files
1 parent 3250b31 commit c808430

19 files changed

+728
-19
lines changed

internal/fourslash/_scripts/failingTests.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,9 @@ TestDoubleUnderscoreCompletions
168168
TestEditJsdocType
169169
TestExportDefaultClass
170170
TestExportDefaultFunction
171-
TestFindAllReferencesDynamicImport1
172-
TestFindAllReferencesUmdModuleAsGlobalConst
173-
TestFindAllRefsExportEquals
174171
TestFindAllRefsForDefaultExport03
175172
TestFindAllRefsForModule
176173
TestFindAllRefsModuleDotExports
177-
TestFindAllRefs_importType_typeofImport
178174
TestFindReferencesBindingPatternInJsdocNoCrash1
179175
TestFindReferencesBindingPatternInJsdocNoCrash2
180176
TestGenericCombinatorWithConstraints1
@@ -262,7 +258,6 @@ TestJsdocTypedefTag
262258
TestJsdocTypedefTag2
263259
TestJsdocTypedefTagNamespace
264260
TestJsdocTypedefTagServices
265-
TestJsxFindAllReferencesOnRuntimeImportWithPaths1
266261
TestLetQuickInfoAndCompletionList
267262
TestLocalFunction
268263
TestMemberListInReopenedEnum
@@ -436,7 +431,6 @@ TestQuickinfoWrongComment
436431
TestRecursiveInternalModuleImport
437432
TestReferencesForStatementKeywords
438433
TestReferencesInEmptyFile
439-
TestReferencesIsAvailableThroughGlobalNoCrash
440434
TestRegexDetection
441435
TestRenameForAliasingExport02
442436
TestRenameFromNodeModulesDep1
@@ -461,7 +455,6 @@ TestTripleSlashRefPathCompletionExtensionsAllowJSFalse
461455
TestTripleSlashRefPathCompletionExtensionsAllowJSTrue
462456
TestTripleSlashRefPathCompletionHiddenFile
463457
TestTripleSlashRefPathCompletionRootdirs
464-
TestTslibFindAllReferencesOnRuntimeImportWithPaths1
465458
TestTsxCompletion14
466459
TestTsxCompletion15
467460
TestTsxCompletionNonTagLessThan

internal/fourslash/tests/gen/findAllReferencesDynamicImport1_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func TestFindAllReferencesDynamicImport1(t *testing.T) {
1111
t.Parallel()
12-
t.Skip()
12+
1313
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1414
const content = `// @Filename: foo.ts
1515
export function foo() { return "foo"; }

internal/fourslash/tests/gen/findAllReferencesUmdModuleAsGlobalConst_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func TestFindAllReferencesUmdModuleAsGlobalConst(t *testing.T) {
1111
t.Parallel()
12-
t.Skip()
12+
1313
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1414
const content = `// @Filename: /node_modules/@types/three/three-core.d.ts
1515
export class Vector3 {

internal/fourslash/tests/gen/findAllRefsExportEquals_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func TestFindAllRefsExportEquals(t *testing.T) {
1111
t.Parallel()
12-
t.Skip()
12+
1313
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1414
const content = `// @Filename: /a.ts
1515
type /*0*/T = number;

internal/fourslash/tests/gen/findAllRefs_importType_typeofImport_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func TestFindAllRefs_importType_typeofImport(t *testing.T) {
1111
t.Parallel()
12-
t.Skip()
12+
1313
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1414
const content = `// @Filename: /a.ts
1515
export const x = 0;

internal/fourslash/tests/gen/jsxFindAllReferencesOnRuntimeImportWithPaths1_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func TestJsxFindAllReferencesOnRuntimeImportWithPaths1(t *testing.T) {
1111
t.Parallel()
12-
t.Skip()
12+
1313
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1414
const content = `// @Filename: project/src/foo.ts
1515
import * as x from /**/"@foo/dir/jsx-runtime";

internal/fourslash/tests/gen/referencesIsAvailableThroughGlobalNoCrash_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func TestReferencesIsAvailableThroughGlobalNoCrash(t *testing.T) {
1111
t.Parallel()
12-
t.Skip()
12+
1313
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1414
const content = `// @Filename: /packages/playwright-core/bundles/utils/node_modules/@types/debug/index.d.ts
1515
declare var debug: debug.Debug & { debug: debug.Debug; default: debug.Debug };

internal/fourslash/tests/gen/tslibFindAllReferencesOnRuntimeImportWithPaths1_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func TestTslibFindAllReferencesOnRuntimeImportWithPaths1(t *testing.T) {
1111
t.Parallel()
12-
t.Skip()
12+
1313
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1414
const content = `// @Filename: project/src/foo.ts
1515
import * as x from /**/"tslib";
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// === documentHighlights ===
2+
// === /b.ts ===
3+
// import { x } from "/*HIGHLIGHTS*/[|./a|]";
4+
5+
6+
7+
// === documentHighlights ===
8+
// === /c/sub.js ===
9+
// const a = require("/*HIGHLIGHTS*/[|../a|]");
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
// === documentHighlights ===
2+
// === /getOccurrencesIfElseBroken.ts ===
3+
// /*HIGHLIGHTS*/[|if|] (true) {
4+
// var x = 1;
5+
// }
6+
// [|else if|] ()
7+
// [|else if|]
8+
// [|else|] /* whar garbl */ [|if|] (if (true) { } else { })
9+
// else
10+
11+
12+
13+
// === documentHighlights ===
14+
// === /getOccurrencesIfElseBroken.ts ===
15+
// [|if|] (true) {
16+
// var x = 1;
17+
// }
18+
// /*HIGHLIGHTS*/[|else if|] ()
19+
// [|else if|]
20+
// [|else|] /* whar garbl */ [|if|] (if (true) { } else { })
21+
// else
22+
23+
24+
25+
// === documentHighlights ===
26+
// === /getOccurrencesIfElseBroken.ts ===
27+
// [|if|] (true) {
28+
// var x = 1;
29+
// }
30+
// [|else if|] ()
31+
// /*HIGHLIGHTS*/[|else if|]
32+
// [|else|] /* whar garbl */ [|if|] (if (true) { } else { })
33+
// else
34+
35+
36+
37+
// === documentHighlights ===
38+
// === /getOccurrencesIfElseBroken.ts ===
39+
// [|if|] (true) {
40+
// var x = 1;
41+
// }
42+
// [|else if|] ()
43+
// [|else if|]
44+
// /*HIGHLIGHTS*/[|else|] /* whar garbl */ [|if|] (if (true) { } else { })
45+
// else
46+
47+
48+
49+
// === documentHighlights ===
50+
// === /getOccurrencesIfElseBroken.ts ===
51+
// [|if|] (true) {
52+
// var x = 1;
53+
// }
54+
// [|else if|] ()
55+
// [|else if|]
56+
// [|else|] /* whar garbl */ /*HIGHLIGHTS*/[|if|] (if (true) { } else { })
57+
// else

0 commit comments

Comments
 (0)