TypeScript/tests/cases/conformance/jsx
Wesley Wigham 3ea81e652a
Ensure whitespace jsx elements are not counted when determining if a jsx child is the only child (#40839)
* Ensure whitespace jsx elements are not counted when determining if a jsx child is the only child

* Use filtered children count for deciding constructor used

* Accept updated baselines post-merge
2020-10-01 14:36:44 -07:00
..
inline reset soft with master for single commit (#38720) 2020-06-18 00:22:32 -07:00
jsxs Ensure whitespace jsx elements are not counted when determining if a jsx child is the only child (#40839) 2020-10-01 14:36:44 -07:00
checkJsxChildrenCanBeTupleType.tsx Infer tuples for jsx children if contextually typed by a tuple (#27409) 2018-10-04 17:56:38 -07:00
checkJsxChildrenProperty1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty2.tsx Error when property is specified more than once via a spread (#36727) 2020-02-11 10:23:15 -08:00
checkJsxChildrenProperty3.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
checkJsxChildrenProperty4.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty5.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
checkJsxChildrenProperty6.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty7.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty8.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty9.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
checkJsxChildrenProperty10.tsx Update baselines and tests (2) 2017-04-17 13:00:38 -07:00
checkJsxChildrenProperty11.tsx Update baselines and tests (2) 2017-04-17 13:00:38 -07:00
checkJsxChildrenProperty12.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
checkJsxChildrenProperty13.tsx Error when property is specified more than once via a spread (#36727) 2020-02-11 10:23:15 -08:00
checkJsxChildrenProperty14.tsx Add baselines 2017-10-17 09:38:23 -07:00
checkJsxChildrenProperty15.tsx Fake up value declaration for synthetic jsx children symbol so they get excess property checked (#29359) 2019-01-15 22:31:57 -08:00
checkJsxGenericTagHasCorrectInferences.tsx Fix JSX contextual types to not eagerly become apparent, use 2-pass inference for JSX (#21383) 2018-02-05 16:33:39 -08:00
checkJsxIntersectionElementPropsType.tsx Infer over each mapped type constraint member if it is a union (#28006) 2018-10-22 16:33:43 -07:00
checkJsxSubtleSkipContextSensitiveBug.tsx Obey the excludeArgument parameter when checking JSX signature validity (#28002) 2018-10-22 16:36:11 -07:00
checkJsxUnionSFXContextualTypeInferredCorrectly.tsx Discriminate jsx contextual types same as object contextual types (#27408) 2018-10-05 15:11:12 -07:00
commentEmittingInPreserveJsx1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
correctlyMarkAliasAsReferences1.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
correctlyMarkAliasAsReferences2.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
correctlyMarkAliasAsReferences3.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
correctlyMarkAliasAsReferences4.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
jsxAndTypeAssertion.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
jsxCheckJsxNoTypeArgumentsAllowed.tsx Parse and check type arguments on JSX opening and self-closing tags (#22415) 2018-03-22 15:07:36 -07:00
jsxEsprimaFbTestSuite.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
jsxInvalidEsprimaTestSuite.tsx Improve error range for ts2657 (jsx expr must have parent element), add code fix for it (#37917) 2020-06-01 12:22:44 -07:00
jsxParsingError1.tsx Parse JSX attributes as AssignmentExpressions 2015-12-08 09:53:47 -08:00
jsxParsingError2.tsx Issue correct errors for missing JSX closing tags 2015-12-29 16:00:15 -08:00
jsxParsingError3.tsx Throw syntax error for } and > in JSX text (#36636) 2020-02-11 11:44:17 -05:00
jsxReactTestSuite.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
jsxSpreadOverwritesAttributeStrict.tsx feat(36908): add 'property overwritten by spread' error for jsx attributes. add related span for conflicting declaration in spread (#37329) 2020-03-17 13:13:38 -07:00
tsxAttributeErrors.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxAttributeInvalidNames.tsx Misc cleanup 2015-06-22 10:31:00 -07:00
tsxAttributeResolution.tsx Unrelated baseline noise 2015-06-22 11:53:55 -07:00
tsxAttributeResolution1.tsx Properly parse keyword-like identifiers in JSX 2015-07-06 11:42:06 -07:00
tsxAttributeResolution2.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxAttributeResolution3.tsx Update tests anad baselines 2017-05-04 17:12:52 -07:00
tsxAttributeResolution4.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxAttributeResolution5.tsx [Transforms] Merge master on 08/05 (#10182) 2016-08-05 21:45:13 -07:00
tsxAttributeResolution6.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxAttributeResolution7.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxAttributeResolution8.tsx Spreaded anys should satisfy all required properties 2015-06-24 13:49:59 -07:00
tsxAttributeResolution9.tsx Fix bug #3737 (exported JSX classes props not validated) 2015-07-07 12:46:58 -07:00
tsxAttributeResolution10.tsx Implements #4105 - a string indexer in 'props' disables errors 2015-07-31 09:55:11 -07:00
tsxAttributeResolution11.tsx Properly handle multiply-declared optional properties in JSX attr. type 2015-12-14 16:44:26 -08:00
tsxAttributeResolution12.tsx Add failing test 2016-02-11 09:44:09 -08:00
tsxAttributeResolution13.tsx Don't crash if there's no JSX.Element during SFC resolution 2016-02-29 18:35:48 -08:00
tsxAttributeResolution14.tsx [Transforms] Merge master 08/09 (#10263) 2016-08-26 15:51:10 -07:00
tsxAttributeResolution15.tsx Unify JSX And Normal Call Checking Codepaths (#27627) 2018-10-16 20:16:00 -04:00
tsxAttributeResolution16.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxCorrectlyParseLessThanComparison1.tsx Add tests 2016-09-23 17:28:08 -07:00
tsxDefaultAttributesResolution1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxDefaultAttributesResolution2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxDefaultAttributesResolution3.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxDynamicTagName1.tsx [Transforms] Merge master 07/11 into transform (#9697) 2016-07-18 15:38:30 -07:00
tsxDynamicTagName2.tsx [Transforms] Merge master 07/11 into transform (#9697) 2016-07-18 15:38:30 -07:00
tsxDynamicTagName3.tsx [Transforms] Merge master 07/11 into transform (#9697) 2016-07-18 15:38:30 -07:00
tsxDynamicTagName4.tsx [Transforms] Merge master 07/11 into transform (#9697) 2016-07-18 15:38:30 -07:00
tsxDynamicTagName5.tsx [Transforms] Merge master 07/11 into transform (#9697) 2016-07-18 15:38:30 -07:00
tsxDynamicTagName6.tsx [Transforms] Merge master 07/11 into transform (#9697) 2016-07-18 15:38:30 -07:00
tsxDynamicTagName7.tsx [Transforms] Merge master 07/11 into transform (#9697) 2016-07-18 15:38:30 -07:00
tsxDynamicTagName8.tsx [Transforms] Merge master 07/11 into transform (#9697) 2016-07-18 15:38:30 -07:00
tsxDynamicTagName9.tsx [Transforms] Merge master 07/11 into transform (#9697) 2016-07-18 15:38:30 -07:00
tsxElementResolution.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution1.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution2.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution3.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution4.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution5.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution6.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution7.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution8.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution9.tsx Change logic in identifying SFCs 2016-01-04 23:00:22 -08:00
tsxElementResolution10.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution11.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution12.tsx Refactor getJsxAttributeSymbolsFromJsxOpeningLikeElement to createJsxAttributesTypeFromAttributesProperty 2017-01-19 09:51:01 -08:00
tsxElementResolution13.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution14.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution15.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution16.tsx Don't error on JSX elements when JSX.Element isn't present 2015-06-25 11:14:45 -07:00
tsxElementResolution17.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution18.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxElementResolution19.tsx Add testcase for #3764 2015-07-07 11:01:34 -07:00
tsxEmit1.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxEmit2.tsx Update existed conformance tests 2017-01-18 15:16:04 -08:00
tsxEmit3.tsx Add a source map test for JSX preserve 2015-07-29 14:49:57 -07:00
tsxErrorRecovery1.tsx Treat </ as a token in TSX files 2015-06-22 11:53:38 -07:00
tsxErrorRecovery2.tsx Better error recovery for adjacent JSX elements in expression positions 2015-10-16 13:47:57 -07:00
tsxErrorRecovery3.tsx Better error recovery for adjacent JSX elements in expression positions 2015-10-16 13:47:57 -07:00
tsxExternalModuleEmit1.tsx Add module setting + test files 2015-06-29 11:41:40 -07:00
tsxExternalModuleEmit2.tsx Don't forget about spread attributes 2015-07-28 15:31:39 -07:00
tsxFragmentErrors.tsx Update tests 2017-10-17 09:38:22 -07:00
tsxFragmentPreserveEmit.tsx Allow characters in JsxText inside JsxFragment that would not normally scan 2018-02-22 15:56:34 -08:00
tsxFragmentReactEmit.tsx Allow characters in JsxText inside JsxFragment that would not normally scan 2018-02-22 15:56:34 -08:00
tsxGenericArrowFunctionParsing.tsx Update tests 2016-09-21 16:03:51 -07:00
tsxGenericAttributesType1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType3.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType4.tsx Use inference for filling JSX attributes in getJsxElementInstanceType (#20973) 2018-01-03 11:30:41 -08:00
tsxGenericAttributesType5.tsx Use inference for filling JSX attributes in getJsxElementInstanceType (#20973) 2018-01-03 11:30:41 -08:00
tsxGenericAttributesType6.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType7.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType8.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxGenericAttributesType9.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxInArrowFunction.tsx Don't error on JSX elements when JSX.Element isn't present 2015-06-25 11:14:45 -07:00
tsxIntrinsicAttributeErrors.tsx Skip IntrinsicAttributes elaboration in JSX errors (#24461) 2018-05-29 14:00:26 -07:00
tsxLibraryManagedAttributes.tsx Support LibraryManagedAttributes<TComponent, TAttributes> JSX namespace type (#24422) 2018-06-29 18:45:29 -07:00
tsxNoJsx.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxOpeningClosingNames.tsx Misc cleanup 2015-06-22 10:31:00 -07:00
tsxParseTests1.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxParseTests2.tsx Allow /* comments between < and JSX element name 2015-09-28 16:11:10 -07:00
tsxPreserveEmit1.tsx Identify JSX closing tags as identifiers so they emit correctly 2015-12-07 11:07:37 -08:00
tsxPreserveEmit2.tsx Add test to verify no error when 'React' is not in scope 2015-12-29 14:57:22 -08:00
tsxPreserveEmit3.tsx Add test for non-used React import 2016-01-01 09:24:07 -08:00
tsxReactComponentWithDefaultTypeParameter1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxReactComponentWithDefaultTypeParameter2.tsx Use inference for filling JSX attributes in getJsxElementInstanceType (#20973) 2018-01-03 11:30:41 -08:00
tsxReactComponentWithDefaultTypeParameter3.tsx Use inference for filling JSX attributes in getJsxElementInstanceType (#20973) 2018-01-03 11:30:41 -08:00
tsxReactEmit1.tsx Fix up other React tests 2015-07-07 11:37:55 -07:00
tsxReactEmit2.tsx Update existed conformance tests 2017-01-18 15:16:04 -08:00
tsxReactEmit3.tsx Fix up other React tests 2015-07-07 11:37:55 -07:00
tsxReactEmit4.tsx Update existed conformance tests 2017-01-18 15:16:04 -08:00
tsxReactEmit5.tsx Update existed conformance tests 2017-01-18 15:16:04 -08:00
tsxReactEmit6.tsx Update existed conformance tests 2017-01-18 15:16:04 -08:00
tsxReactEmit7.tsx Quote only names that need to be quoted, not the reverse 2015-11-12 11:02:19 -08:00
tsxReactEmitEntities.tsx Fix decoding of HTML entities in TSX/JSX (#35739) 2019-12-17 17:32:48 -08:00
tsxReactEmitNesting.tsx pretty output for react jsx 2016-01-26 22:59:34 -08:00
tsxReactEmitWhitespace.tsx Comment code and remember to add a space before the last part 2016-09-09 07:56:01 -07:00
tsxReactEmitWhitespace2.tsx Fix React whitespace emit #4376 2015-08-20 11:38:03 -07:00
tsxSfcReturnNull.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
tsxSfcReturnNullStrictNullChecks.tsx Allow JSXAttributes types to be shortcut-spread into the spread type like normal objects (#19047) 2017-12-15 16:13:28 -08:00
tsxSfcReturnUndefinedStrictNullChecks.tsx Allow JSXAttributes types to be shortcut-spread into the spread type like normal objects (#19047) 2017-12-15 16:13:28 -08:00
tsxSpreadAttributesResolution1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution2.tsx Unify JSX And Normal Call Checking Codepaths (#27627) 2018-10-16 20:16:00 -04:00
tsxSpreadAttributesResolution3.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
tsxSpreadAttributesResolution4.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution5.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution6.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution7.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution8.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution9.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution10.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution11.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution12.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution13.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution14.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution15.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution16.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxSpreadAttributesResolution17.tsx Fix JSX attribute checking when spreading unions 2018-01-22 13:34:12 -08:00
tsxSpreadChildren.tsx Add spread syntax tests for JsxExpressions 2016-10-13 09:28:39 -07:00
tsxSpreadChildrenInvalidType.tsx Allow any type for spreads in JsxExpression 2016-10-13 10:17:01 -07:00
tsxStatelessFunctionComponentOverload1.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
tsxStatelessFunctionComponentOverload2.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
tsxStatelessFunctionComponentOverload3.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentOverload4.tsx fix spelling errors (#36523) 2020-01-30 13:39:54 -08:00
tsxStatelessFunctionComponentOverload5.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentOverload6.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
tsxStatelessFunctionComponents1.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
tsxStatelessFunctionComponents2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponents3.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentsWithTypeArguments1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentsWithTypeArguments2.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
tsxStatelessFunctionComponentsWithTypeArguments3.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
tsxStatelessFunctionComponentsWithTypeArguments4.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentsWithTypeArguments5.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentWithDefaultTypeParameter1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxStatelessFunctionComponentWithDefaultTypeParameter2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxTypeArgumentResolution.tsx Parse and check type arguments on JSX opening and self-closing tags (#22415) 2018-03-22 15:07:36 -07:00
tsxTypeArgumentsJsxPreserveOutput.tsx fix(37456): add tests for JsxOpeningElement nodes (#37752) 2020-04-02 10:38:31 -07:00
tsxTypeErrors.tsx Conformance tests for JSX 2015-06-18 14:03:43 -07:00
tsxUnionElementType1.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionElementType2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionElementType3.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionElementType4.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionElementType5.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionElementType6.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
tsxUnionTypeComponent1.tsx Add skip lib check to many tests (#18935) 2017-10-04 13:14:05 -07:00
tsxUnionTypeComponent2.tsx Skip more lib checks, improve test execution time a bit more (#18952) 2017-10-04 14:43:35 -07:00
unicodeEscapesInJsxtags.tsx Fix unicode escapes in jsx identifiers and extended unicode characters in jsdoc (#32716) 2019-08-06 15:14:32 -07:00