Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

App-test.tsx.snap 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should work 1`] = `
  3. <Fragment>
  4. <Suggestions
  5. suggestions="custom_metrics"
  6. />
  7. <Helmet
  8. defer={false}
  9. encodeSpecialCharacters={true}
  10. title="custom_metrics.page"
  11. />
  12. <div
  13. className="page page-limited"
  14. id="custom-metrics-page"
  15. >
  16. <Header
  17. loading={true}
  18. onCreate={[Function]}
  19. />
  20. </div>
  21. </Fragment>
  22. `;
  23. exports[`should work 2`] = `
  24. <Fragment>
  25. <Suggestions
  26. suggestions="custom_metrics"
  27. />
  28. <Helmet
  29. defer={false}
  30. encodeSpecialCharacters={true}
  31. title="custom_metrics.page"
  32. />
  33. <div
  34. className="page page-limited"
  35. id="custom-metrics-page"
  36. >
  37. <Header
  38. domains={
  39. Array [
  40. "Coverage",
  41. "Issues",
  42. ]
  43. }
  44. loading={false}
  45. onCreate={[Function]}
  46. types={
  47. Array [
  48. "INT",
  49. "STRING",
  50. ]
  51. }
  52. />
  53. <List
  54. domains={
  55. Array [
  56. "Coverage",
  57. "Issues",
  58. ]
  59. }
  60. metrics={
  61. Array [
  62. Object {
  63. "id": "3",
  64. "key": "foo",
  65. "name": "Foo",
  66. "type": "INT",
  67. },
  68. ]
  69. }
  70. onDelete={[Function]}
  71. onEdit={[Function]}
  72. types={
  73. Array [
  74. "INT",
  75. "STRING",
  76. ]
  77. }
  78. />
  79. <ListFooter
  80. count={1}
  81. loadMore={[Function]}
  82. ready={true}
  83. total={1}
  84. />
  85. </div>
  86. </Fragment>
  87. `;
  88. exports[`should work 3`] = `
  89. Array [
  90. Object {
  91. "id": "3",
  92. "key": "foo",
  93. "name": "Foo",
  94. "type": "INT",
  95. },
  96. Object {
  97. "domain": "Coverage",
  98. "id": "4",
  99. "key": "bar",
  100. "name": "Bar",
  101. "type": "INT",
  102. },
  103. ]
  104. `;
  105. exports[`should work 4`] = `
  106. Array [
  107. Object {
  108. "id": "3",
  109. "key": "foo",
  110. "name": "Foo",
  111. "type": "INT",
  112. },
  113. Object {
  114. "domain": undefined,
  115. "id": "4",
  116. "key": "bar",
  117. "name": "Bar",
  118. "type": "STRING",
  119. },
  120. ]
  121. `;
  122. exports[`should work 5`] = `
  123. Array [
  124. Object {
  125. "id": "3",
  126. "key": "foo",
  127. "name": "Foo",
  128. "type": "INT",
  129. },
  130. ]
  131. `;