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.

GitlabTab-test.tsx.snap 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should render correctly: with branch support 1`] = `
  3. <div
  4. className="bordered"
  5. >
  6. <AlmTab
  7. alm="gitlab"
  8. createConfiguration={[Function]}
  9. defaultBinding={
  10. Object {
  11. "key": "",
  12. "personalAccessToken": "",
  13. }
  14. }
  15. definitions={
  16. Array [
  17. Object {
  18. "key": "foo",
  19. "personalAccessToken": "foobar",
  20. },
  21. ]
  22. }
  23. features={
  24. Array [
  25. Object {
  26. "active": true,
  27. "description": "settings.almintegration.feature.mr_decoration.description",
  28. "inactiveReason": "settings.almintegration.feature.need_at_least_1_binding",
  29. "name": "settings.almintegration.feature.mr_decoration.title",
  30. },
  31. ]
  32. }
  33. form={[Function]}
  34. loading={false}
  35. multipleAlmEnabled={true}
  36. onDelete={[MockFunction]}
  37. onUpdateDefinitions={[MockFunction]}
  38. updateConfiguration={[Function]}
  39. />
  40. <div
  41. className="huge-spacer-top huge-spacer-bottom bordered-top"
  42. />
  43. <div
  44. className="big-padded"
  45. >
  46. <Connect(SubCategoryDefinitionsList)
  47. category="almintegration"
  48. subCategory="gitlab"
  49. />
  50. </div>
  51. </div>
  52. `;
  53. exports[`should render correctly: without branch support 1`] = `
  54. <div
  55. className="bordered"
  56. >
  57. <div
  58. className="big-padded"
  59. >
  60. <Connect(SubCategoryDefinitionsList)
  61. category="almintegration"
  62. subCategory="gitlab"
  63. />
  64. </div>
  65. </div>
  66. `;