DataSourceList.test.tsx.snap 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Render should render component 1`] = `
  3. <section
  4. className="card-section card-list-layout-grid"
  5. >
  6. <ol
  7. className="card-list"
  8. >
  9. <DataSourcesListItem
  10. dataSource={
  11. Object {
  12. "access": "",
  13. "basicAuth": false,
  14. "database": "database-0",
  15. "id": 0,
  16. "isDefault": false,
  17. "jsonData": Object {
  18. "authType": "credentials",
  19. "defaultRegion": "eu-west-2",
  20. },
  21. "name": "dataSource-0",
  22. "orgId": 1,
  23. "password": "",
  24. "readOnly": false,
  25. "type": "cloudwatch",
  26. "typeLogoUrl": "public/app/plugins/datasource/cloudwatch/img/amazon-web-services.png",
  27. "url": "",
  28. "user": "",
  29. }
  30. }
  31. key="0-0"
  32. />
  33. <DataSourcesListItem
  34. dataSource={
  35. Object {
  36. "access": "",
  37. "basicAuth": false,
  38. "database": "database-1",
  39. "id": 1,
  40. "isDefault": false,
  41. "jsonData": Object {
  42. "authType": "credentials",
  43. "defaultRegion": "eu-west-2",
  44. },
  45. "name": "dataSource-1",
  46. "orgId": 1,
  47. "password": "",
  48. "readOnly": false,
  49. "type": "cloudwatch",
  50. "typeLogoUrl": "public/app/plugins/datasource/cloudwatch/img/amazon-web-services.png",
  51. "url": "",
  52. "user": "",
  53. }
  54. }
  55. key="1-1"
  56. />
  57. <DataSourcesListItem
  58. dataSource={
  59. Object {
  60. "access": "",
  61. "basicAuth": false,
  62. "database": "database-2",
  63. "id": 2,
  64. "isDefault": false,
  65. "jsonData": Object {
  66. "authType": "credentials",
  67. "defaultRegion": "eu-west-2",
  68. },
  69. "name": "dataSource-2",
  70. "orgId": 1,
  71. "password": "",
  72. "readOnly": false,
  73. "type": "cloudwatch",
  74. "typeLogoUrl": "public/app/plugins/datasource/cloudwatch/img/amazon-web-services.png",
  75. "url": "",
  76. "user": "",
  77. }
  78. }
  79. key="2-2"
  80. />
  81. <DataSourcesListItem
  82. dataSource={
  83. Object {
  84. "access": "",
  85. "basicAuth": false,
  86. "database": "database-3",
  87. "id": 3,
  88. "isDefault": false,
  89. "jsonData": Object {
  90. "authType": "credentials",
  91. "defaultRegion": "eu-west-2",
  92. },
  93. "name": "dataSource-3",
  94. "orgId": 1,
  95. "password": "",
  96. "readOnly": false,
  97. "type": "cloudwatch",
  98. "typeLogoUrl": "public/app/plugins/datasource/cloudwatch/img/amazon-web-services.png",
  99. "url": "",
  100. "user": "",
  101. }
  102. }
  103. key="3-3"
  104. />
  105. </ol>
  106. </section>
  107. `;