inactivePlugins.spec.jsx.snap 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`InactivePlugins renders null when no plugins 1`] = `""`;
  3. exports[`InactivePlugins renders plugins list 1`] = `
  4. <Panel>
  5. <PanelHeader>
  6. Inactive Integrations
  7. </PanelHeader>
  8. <PanelBody
  9. direction="column"
  10. disablePadding={true}
  11. flex={false}
  12. >
  13. <Flex
  14. flex="1"
  15. p={1}
  16. wrap="wrap"
  17. >
  18. <Box
  19. key="amazon-sqs"
  20. m={1}
  21. >
  22. <IntegrationButton
  23. className="ref-plugin-enable-amazon-sqs"
  24. onClick={[Function]}
  25. >
  26. <Flex
  27. align="center"
  28. justify="center"
  29. >
  30. <Flex
  31. align="center"
  32. mr={1}
  33. >
  34. <PluginIcon
  35. pluginId="amazon-sqs"
  36. size={20}
  37. />
  38. </Flex>
  39. <TextOverflow>
  40. Amazon SQS
  41. </TextOverflow>
  42. </Flex>
  43. </IntegrationButton>
  44. </Box>
  45. <Box
  46. key="github"
  47. m={1}
  48. >
  49. <IntegrationButton
  50. className="ref-plugin-enable-github"
  51. onClick={[Function]}
  52. >
  53. <Flex
  54. align="center"
  55. justify="center"
  56. >
  57. <Flex
  58. align="center"
  59. mr={1}
  60. >
  61. <PluginIcon
  62. pluginId="github"
  63. size={20}
  64. />
  65. </Flex>
  66. <TextOverflow>
  67. GitHub
  68. </TextOverflow>
  69. </Flex>
  70. </IntegrationButton>
  71. </Box>
  72. <Box
  73. key="hidden-plugin"
  74. m={1}
  75. >
  76. <IntegrationButton
  77. className="ref-plugin-enable-hidden-plugin"
  78. onClick={[Function]}
  79. >
  80. <Flex
  81. align="center"
  82. justify="center"
  83. >
  84. <Flex
  85. align="center"
  86. mr={1}
  87. >
  88. <PluginIcon
  89. pluginId="hidden-plugin"
  90. size={20}
  91. />
  92. </Flex>
  93. <TextOverflow>
  94. Hidden Plugin
  95. </TextOverflow>
  96. </Flex>
  97. </IntegrationButton>
  98. </Box>
  99. </Flex>
  100. </PanelBody>
  101. </Panel>
  102. `;