You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GithubForm-test.tsx.snap 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should render correctly 1`] = `
  3. <Fragment>
  4. <AlmBindingDefinitionFormField
  5. autoFocus={true}
  6. help="settings.almintegration.form.name.github.help"
  7. id="name.github"
  8. onFieldChange={[MockFunction]}
  9. propKey="key"
  10. value=""
  11. />
  12. <AlmBindingDefinitionFormField
  13. help={
  14. <React.Fragment>
  15. settings.almintegration.form.url.github.help1
  16. <br />
  17. <em>
  18. https://github.company.com/api/v3
  19. </em>
  20. <br />
  21. <br />
  22. settings.almintegration.form.url.github.help2
  23. <br />
  24. <em>
  25. https://api.github.com/
  26. </em>
  27. </React.Fragment>
  28. }
  29. id="url.github"
  30. maxLength={2000}
  31. onFieldChange={[MockFunction]}
  32. propKey="url"
  33. value=""
  34. />
  35. <AlmBindingDefinitionFormField
  36. id="app_id"
  37. maxLength={80}
  38. onFieldChange={[MockFunction]}
  39. propKey="appId"
  40. value=""
  41. />
  42. <AlmBindingDefinitionFormField
  43. id="private_key"
  44. isTextArea={true}
  45. onFieldChange={[MockFunction]}
  46. propKey="privateKey"
  47. value=""
  48. />
  49. </Fragment>
  50. `;
  51. exports[`should render correctly 2`] = `
  52. <Fragment>
  53. <AlmBindingDefinitionFormField
  54. autoFocus={true}
  55. help="settings.almintegration.form.name.github.help"
  56. id="name.github"
  57. onFieldChange={[MockFunction]}
  58. propKey="key"
  59. value="key"
  60. />
  61. <AlmBindingDefinitionFormField
  62. help={
  63. <React.Fragment>
  64. settings.almintegration.form.url.github.help1
  65. <br />
  66. <em>
  67. https://github.company.com/api/v3
  68. </em>
  69. <br />
  70. <br />
  71. settings.almintegration.form.url.github.help2
  72. <br />
  73. <em>
  74. https://api.github.com/
  75. </em>
  76. </React.Fragment>
  77. }
  78. id="url.github"
  79. maxLength={2000}
  80. onFieldChange={[MockFunction]}
  81. propKey="url"
  82. value="http://github.enterprise.com"
  83. />
  84. <AlmBindingDefinitionFormField
  85. id="app_id"
  86. maxLength={80}
  87. onFieldChange={[MockFunction]}
  88. propKey="appId"
  89. value="123456"
  90. />
  91. <AlmBindingDefinitionFormField
  92. id="private_key"
  93. isTextArea={true}
  94. onFieldChange={[MockFunction]}
  95. propKey="privateKey"
  96. value="asdf1234"
  97. />
  98. </Fragment>
  99. `;