Skip to content

Commit a4eb181

Browse files
committed
Tons of fourslash changes?
1 parent 0467926 commit a4eb181

File tree

259 files changed

+258
-516
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+258
-516
lines changed
Lines changed: 0 additions & 258 deletions
Original file line numberDiff line numberDiff line change
@@ -1,187 +1,5 @@
1-
TestAliasMergingWithNamespace
2-
TestAmbientShorthandGotoDefinition
3-
TestArgumentsAreAvailableAfterEditsAtEndOfFunction
4-
TestAugmentedTypesClass1
5-
TestAugmentedTypesClass3Fourslash
6-
TestBestCommonTypeObjectLiterals
7-
TestBestCommonTypeObjectLiterals1
8-
TestCodeCompletionEscaping
9-
TestCommentsEnumsFourslash
10-
TestCommentsLinePreservation
11-
TestCommentsUnion
12-
TestCompletionAfterQuestionDot
13-
TestCompletionAutoInsertQuestionDot
14-
TestCompletionCloneQuestionToken
15-
TestCompletionEntryForArgumentConstrainedToString
16-
TestCompletionEntryForArrayElementConstrainedToString
17-
TestCompletionEntryForArrayElementConstrainedToString2
18-
TestCompletionEntryForClassMembers_StaticWhenBaseTypeIsNotResolved
19-
TestCompletionEntryForUnionProperty
20-
TestCompletionEntryForUnionProperty2
21-
TestCompletionExportFrom
22-
TestCompletionForComputedStringProperties
23-
TestCompletionForMetaProperty
24-
TestCompletionForStringLiteral
25-
TestCompletionForStringLiteral4
26-
TestCompletionForStringLiteralExport
27-
TestCompletionForStringLiteralImport1
28-
TestCompletionForStringLiteralImport2
29-
TestCompletionForStringLiteralNonrelativeImport12
30-
TestCompletionForStringLiteralNonrelativeImport14
31-
TestCompletionForStringLiteralNonrelativeImport16
32-
TestCompletionForStringLiteralNonrelativeImport17
33-
TestCompletionForStringLiteralNonrelativeImport18
34-
TestCompletionForStringLiteralNonrelativeImport2
35-
TestCompletionForStringLiteralNonrelativeImport3
36-
TestCompletionForStringLiteralNonrelativeImport4
37-
TestCompletionForStringLiteralNonrelativeImport7
38-
TestCompletionForStringLiteralNonrelativeImport8
39-
TestCompletionForStringLiteralNonrelativeImport9
40-
TestCompletionForStringLiteralNonrelativeImportTypings1
41-
TestCompletionForStringLiteralNonrelativeImportTypings2
42-
TestCompletionForStringLiteralNonrelativeImportTypings3
43-
TestCompletionForStringLiteralRelativeImport4
44-
TestCompletionForStringLiteralRelativeImport6
45-
TestCompletionForStringLiteralRelativeImportAllowJSTrue
46-
TestCompletionForStringLiteralWithDynamicImport
47-
TestCompletionForStringLiteral_details
48-
TestCompletionForStringLiteral_quotePreference
49-
TestCompletionForStringLiteral_quotePreference1
50-
TestCompletionForStringLiteral_quotePreference2
51-
TestCompletionForStringLiteral_quotePreference3
52-
TestCompletionForStringLiteral_quotePreference4
53-
TestCompletionForStringLiteral_quotePreference5
54-
TestCompletionForStringLiteral_quotePreference6
55-
TestCompletionForStringLiteral_quotePreference7
56-
TestCompletionForStringLiteral_quotePreference8
57-
TestCompletionImportMeta
58-
TestCompletionImportMetaWithGlobalDeclaration
59-
TestCompletionImportModuleSpecifierEndingDts
60-
TestCompletionImportModuleSpecifierEndingJs
61-
TestCompletionImportModuleSpecifierEndingJsx
62-
TestCompletionImportModuleSpecifierEndingTs
63-
TestCompletionImportModuleSpecifierEndingTsxPreserve
64-
TestCompletionImportModuleSpecifierEndingTsxReact
65-
TestCompletionImportModuleSpecifierEndingUnsupportedExtension
66-
TestCompletionInFunctionLikeBody_includesPrimitiveTypes
67-
TestCompletionInJsDoc
68-
TestCompletionInNamedImportLocation
69-
TestCompletionInUncheckedJSFile
70-
TestCompletionListBuilderLocations_VariableDeclarations
71-
TestCompletionListForDerivedType1
72-
TestCompletionListForTransitivelyExportedMembers04
73-
TestCompletionListFunctionExpression
74-
TestCompletionListInArrowFunctionInUnclosedCallSite01
75-
TestCompletionListInClassExpressionWithTypeParameter
76-
TestCompletionListInClassStaticBlocks
77-
TestCompletionListInImportClause01
78-
TestCompletionListInImportClause05
79-
TestCompletionListInImportClause06
80-
TestCompletionListInNamedClassExpression
81-
TestCompletionListInNamedClassExpressionWithShadowing
82-
TestCompletionListInNamedFunctionExpression
83-
TestCompletionListInNamedFunctionExpression1
84-
TestCompletionListInNamedFunctionExpressionWithShadowing
85-
TestCompletionListInScope
86-
TestCompletionListInTemplateLiteralParts1
87-
TestCompletionListInUnclosedCommaExpression01
88-
TestCompletionListInUnclosedCommaExpression02
89-
TestCompletionListInUnclosedFunction08
90-
TestCompletionListInUnclosedFunction09
91-
TestCompletionListInUnclosedTaggedTemplate01
92-
TestCompletionListInUnclosedTaggedTemplate02
93-
TestCompletionListInUnclosedTemplate01
94-
TestCompletionListInUnclosedTemplate02
95-
TestCompletionListInvalidMemberNames
96-
TestCompletionListInvalidMemberNames2
97-
TestCompletionListInvalidMemberNames_escapeQuote
98-
TestCompletionListInvalidMemberNames_startWithSpace
99-
TestCompletionListInvalidMemberNames_withExistingIdentifier
100-
TestCompletionListObjectMembersInTypeLocationWithTypeof
101-
TestCompletionListOfGenericSymbol
102-
TestCompletionListOnAliases
103-
TestCompletionListStringParenthesizedExpression
104-
TestCompletionListStringParenthesizedType
105-
TestCompletionListWithoutVariableinitializer
106-
TestCompletionListsStringLiteralTypeAsIndexedAccessTypeObject
107-
TestCompletionNoAutoInsertQuestionDotForThis
108-
TestCompletionNoAutoInsertQuestionDotForTypeParameter
109-
TestCompletionNoAutoInsertQuestionDotWithUserPreferencesOff
110-
TestCompletionOfAwaitPromise1
111-
TestCompletionOfAwaitPromise2
112-
TestCompletionOfAwaitPromise3
113-
TestCompletionOfAwaitPromise5
114-
TestCompletionOfAwaitPromise6
115-
TestCompletionOfAwaitPromise7
116-
TestCompletionOfInterfaceAndVar
117-
TestCompletionPreferredSuggestions1
118-
TestCompletionWithConditionalOperatorMissingColon
119-
TestCompletionsAfterJSDoc
120-
TestCompletionsBeforeRestArg1
121-
TestCompletionsElementAccessNumeric
122-
TestCompletionsExportImport
123-
TestCompletionsGenericTypeWithMultipleBases1
124-
TestCompletionsImportOrExportSpecifier
125-
TestCompletionsInExport
126-
TestCompletionsInExport_moduleBlock
127-
TestCompletionsInRequire
128-
TestCompletionsJSDocImportTagAttributesEmptyModuleSpecifier1
129-
TestCompletionsJSDocImportTagAttributesErrorModuleSpecifier1
130-
TestCompletionsJSDocImportTagEmptyModuleSpecifier1
131-
TestCompletionsJSDocNoCrash1
132-
TestCompletionsJsdocTypeTagCast
133-
TestCompletionsJsxAttribute2
134-
TestCompletionsJsxAttributeInitializer2
135-
TestCompletionsLiteralFromInferenceWithinInferredType3
136-
TestCompletionsLiterals
137-
TestCompletionsMergedDeclarations1
138-
TestCompletionsNewTarget
139-
TestCompletionsOptionalMethod
140-
TestCompletionsOverridingMethod1
141-
TestCompletionsOverridingMethod10
142-
TestCompletionsOverridingMethod11
143-
TestCompletionsOverridingMethod14
144-
TestCompletionsOverridingMethod17
145-
TestCompletionsOverridingMethod3
146-
TestCompletionsOverridingMethod4
147-
TestCompletionsOverridingMethod9
148-
TestCompletionsOverridingMethodCrash1
149-
TestCompletionsOverridingProperties1
150-
TestCompletionsPathsJsonModule
151-
TestCompletionsPathsRelativeJsonModule
152-
TestCompletionsPaths_importType
153-
TestCompletionsPaths_kinds
154-
TestCompletionsPaths_pathMapping
155-
TestCompletionsPaths_pathMapping_nonTrailingWildcard1
156-
TestCompletionsPaths_pathMapping_parentDirectory
157-
TestCompletionsRecommended_union
158-
TestCompletionsRedeclareModuleAsGlobal
159-
TestCompletionsStringsWithTriggerCharacter
160-
TestCompletionsSymbolMembers
161-
TestCompletionsTriggerCharacter
162-
TestCompletionsTuple
163-
TestCompletionsUniqueSymbol1
164-
TestConstEnumQuickInfoAndCompletionList
165-
TestConstQuickInfoAndCompletionList
166-
TestContextuallyTypedFunctionExpressionGeneric1
167-
TestDoubleUnderscoreCompletions
168-
TestEditJsdocType
169-
TestExportDefaultClass
170-
TestExportDefaultFunction
171-
TestFindAllReferencesDynamicImport1
172-
TestFindAllReferencesTripleSlash
173-
TestFindAllReferencesUmdModuleAsGlobalConst
174-
TestFindAllRefsCommonJsRequire
175-
TestFindAllRefsCommonJsRequire2
176-
TestFindAllRefsCommonJsRequire3
177-
TestFindAllRefsExportEquals
178-
TestFindAllRefsForDefaultExport03
179-
TestFindAllRefsModuleDotExports
180-
TestFindAllRefsReExport_broken
1811
TestFindAllRefs_importType_typeofImport
1822
TestFindReferencesAfterEdit
183-
TestFindReferencesBindingPatternInJsdocNoCrash1
184-
TestFindReferencesBindingPatternInJsdocNoCrash2
1853
TestGenericCombinatorWithConstraints1
1864
TestGenericCombinators3
1875
TestGenericFunctionWithGenericParams1
@@ -386,91 +204,15 @@ TestQuickInfoOnArgumentsInsideFunction
386204
TestQuickInfoOnCatchVariable
387205
TestQuickInfoOnClosingJsx
388206
TestQuickInfoOnElementAccessInWriteLocation1
389-
TestQuickInfoOnElementAccessInWriteLocation2
390-
TestQuickInfoOnElementAccessInWriteLocation3
391-
TestQuickInfoOnElementAccessInWriteLocation4
392-
TestQuickInfoOnElementAccessInWriteLocation5
393-
TestQuickInfoOnErrorTypes1
394-
TestQuickInfoOnFunctionPropertyReturnedFromGenericFunction1
395-
TestQuickInfoOnFunctionPropertyReturnedFromGenericFunction2
396-
TestQuickInfoOnFunctionPropertyReturnedFromGenericFunction3
397-
TestQuickInfoOnGenericWithConstraints1
398-
TestQuickInfoOnInternalAliases
399-
TestQuickInfoOnMethodOfImportEquals
400-
TestQuickInfoOnNarrowedType
401-
TestQuickInfoOnNarrowedTypeInModule
402-
TestQuickInfoOnNewKeyword01
403-
TestQuickInfoOnObjectLiteralWithAccessors
404-
TestQuickInfoOnObjectLiteralWithOnlyGetter
405-
TestQuickInfoOnObjectLiteralWithOnlySetter
406-
TestQuickInfoOnPropDeclaredUsingIndexSignatureOnInterfaceWithBase
407-
TestQuickInfoOnPropertyAccessInWriteLocation1
408-
TestQuickInfoOnPropertyAccessInWriteLocation2
409-
TestQuickInfoOnPropertyAccessInWriteLocation3
410-
TestQuickInfoOnPropertyAccessInWriteLocation4
411-
TestQuickInfoOnPropertyAccessInWriteLocation5
412-
TestQuickInfoOnThis
413-
TestQuickInfoOnThis2
414-
TestQuickInfoOnThis3
415-
TestQuickInfoOnThis4
416-
TestQuickInfoOnUndefined
417-
TestQuickInfoOnVarInArrowExpression
418-
TestQuickInfoPrivateIdentifierInTypeReferenceNoCrash1
419-
TestQuickInfoPropertyTag
420-
TestQuickInfoSignatureOptionalParameterFromUnion1
421-
TestQuickInfoSignatureRestParameterFromUnion1
422-
TestQuickInfoSignatureRestParameterFromUnion2
423-
TestQuickInfoSignatureRestParameterFromUnion3
424-
TestQuickInfoSignatureRestParameterFromUnion4
425-
TestQuickInfoSpecialPropertyAssignment
426-
TestQuickInfoStaticPrototypePropertyOnClass
427-
TestQuickInfoTemplateTag
428-
TestQuickInfoTypeAliasDefinedInDifferentFile
429-
TestQuickInfoTypeError
430-
TestQuickInfoTypeOfThisInStatics
431-
TestQuickInfoTypeOnlyNamespaceAndClass
432-
TestQuickInfoUnionOfNamespaces
433-
TestQuickInfoUnion_discriminated
434-
TestQuickInfoWidenedTypes
435207
TestQuickInfo_notInsideComment
436208
TestQuickInforForSucessiveInferencesIsNotAny
437209
TestQuickinfo01
438210
TestQuickinfoForNamespaceMergeWithClassConstrainedToSelf
439211
TestQuickinfoForUnionProperty
440212
TestQuickinfoWrongComment
441213
TestRecursiveInternalModuleImport
442-
TestReferencesForExportedValues
443-
TestReferencesForStatementKeywords
444-
TestReferencesInComment
445-
TestReferencesInEmptyFile
446-
TestReferencesIsAvailableThroughGlobalNoCrash
447-
TestRegexDetection
448-
TestReverseMappedTypeQuickInfo
449-
TestSelfReferencedExternalModule
450-
TestSignatureHelpInferenceJsDocImportTag
451-
TestStringCompletionsImportOrExportSpecifier
452-
TestStringCompletionsVsEscaping
453-
TestSyntheticImportFromBabelGeneratedFile1
454-
TestSyntheticImportFromBabelGeneratedFile2
455-
TestThisBindingInLambda
456-
TestThisPredicateFunctionQuickInfo01
457-
TestThisPredicateFunctionQuickInfo02
458-
TestTripleSlashRefPathCompletionAbsolutePaths
459-
TestTripleSlashRefPathCompletionContext
460-
TestTripleSlashRefPathCompletionExtensionsAllowJSFalse
461-
TestTripleSlashRefPathCompletionExtensionsAllowJSTrue
462-
TestTripleSlashRefPathCompletionHiddenFile
463-
TestTripleSlashRefPathCompletionRootdirs
464-
TestTslibFindAllReferencesOnRuntimeImportWithPaths1
465-
TestTsxCompletion12
466-
TestTsxCompletion13
467-
TestTsxCompletion14
468-
TestTsxCompletion15
469214
TestTsxCompletion8
470215
TestTsxCompletionNonTagLessThan
471216
TestTsxQuickInfo1
472217
TestTsxQuickInfo4
473218
TestTsxQuickInfo5
474-
TestTsxQuickInfo6
475-
TestTsxQuickInfo7
476-
TestTypeOperatorNodeBuilding

internal/fourslash/tests/gen/aliasMergingWithNamespace_test.go

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

1010
func TestAliasMergingWithNamespace(t *testing.T) {
1111
t.Parallel()
12-
t.Skip()
12+
1313
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1414
const content = `namespace bar { }
1515
import bar = bar/**/;`

internal/fourslash/tests/gen/ambientShorthandGotoDefinition_test.go

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

1010
func TestAmbientShorthandGotoDefinition(t *testing.T) {
1111
t.Parallel()
12-
t.Skip()
12+
1313
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1414
const content = `// @Filename: declarations.d.ts
1515
declare module /*module*/"jquery"

internal/fourslash/tests/gen/argumentsAreAvailableAfterEditsAtEndOfFunction_test.go

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

1212
func TestArgumentsAreAvailableAfterEditsAtEndOfFunction(t *testing.T) {
1313
t.Parallel()
14-
t.Skip()
14+
1515
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1616
const content = `module Test1 {
1717
class Person {

internal/fourslash/tests/gen/augmentedTypesClass1_test.go

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

1212
func TestAugmentedTypesClass1(t *testing.T) {
1313
t.Parallel()
14-
t.Skip()
14+
1515
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1616
const content = `class c5b { public foo() { } }
1717
module c5b { export var y = 2; } // should be ok

internal/fourslash/tests/gen/augmentedTypesClass3Fourslash_test.go

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

1212
func TestAugmentedTypesClass3Fourslash(t *testing.T) {
1313
t.Parallel()
14-
t.Skip()
14+
1515
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1616
const content = `class c/*1*/5b { public foo() { } }
1717
namespace c/*2*/5b { export var y = 2; } // should be ok

internal/fourslash/tests/gen/bestCommonTypeObjectLiterals1_test.go

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

1010
func TestBestCommonTypeObjectLiterals1(t *testing.T) {
1111
t.Parallel()
12-
t.Skip()
12+
1313
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1414
const content = `var a = { name: 'bob', age: 18 };
1515
var b = { name: 'jim', age: 20 };

internal/fourslash/tests/gen/bestCommonTypeObjectLiterals_test.go

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

1010
func TestBestCommonTypeObjectLiterals(t *testing.T) {
1111
t.Parallel()
12-
t.Skip()
12+
1313
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1414
const content = `var a = { name: 'bob', age: 18 };
1515
var b = { name: 'jim', age: 20 };

internal/fourslash/tests/gen/codeCompletionEscaping_test.go

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

1313
func TestCodeCompletionEscaping(t *testing.T) {
1414
t.Parallel()
15-
t.Skip()
15+
1616
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1717
const content = `// @Filename: a.js
1818
// @allowJs: true

internal/fourslash/tests/gen/commentsEnumsFourslash_test.go

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

1212
func TestCommentsEnumsFourslash(t *testing.T) {
1313
t.Parallel()
14-
t.Skip()
14+
1515
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1616
const content = `/** Enum of colors*/
1717
enum /*1*/Colors {

0 commit comments

Comments
 (0)